aboutsummaryrefslogtreecommitdiff
path: root/net/smc/smc_close.c
diff options
context:
space:
mode:
authorUrsula Braun2018-01-26 09:28:47 +0100
committerDavid S. Miller2018-01-26 10:41:56 -0500
commit8dce2786a2905e5b0ce49263910b4a47af75b752 (patch)
tree0ff7aaac425f4fcc83477af6dc6b2d9df84ddc48 /net/smc/smc_close.c
parentda05bf2981f1035fc37d4253ccf0692faf19b8c0 (diff)
net/smc: smc_poll improvements
Increase the socket refcount during poll wait. Take the socket lock before checking socket state. For a listening socket return a mask independent of state SMC_ACTIVE and cover errors or closed state as well. Get rid of the accept_q loop in smc_accept_poll(). Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_close.c')
0 files changed, 0 insertions, 0 deletions