OSDN Git Service

smc: simplify abort logic
authorStefan Raspl <stefan.raspl@linux.ibm.com>
Thu, 3 May 2018 16:12:36 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 May 2018 15:45:06 +0000 (11:45 -0400)
commitc8b8ec8e0d605872c62909e7af54fb0bcb174d0c
treee4151b67de58be0843a4e7f1603c36303d317fe9
parenta7b15ab887e5b8e9803136b5a4a0008d7a3dea86
smc: simplify abort logic

Some of the conditions to exit recv() are common in two pathes - cleaning up
code by moving the check up so we have it only once.

Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com><
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_rx.c