diff options
author | Ursula Braun | 2018-01-26 09:28:47 +0100 |
---|---|---|
committer | David S. Miller | 2018-01-26 10:41:56 -0500 |
commit | 8dce2786a2905e5b0ce49263910b4a47af75b752 (patch) | |
tree | 0ff7aaac425f4fcc83477af6dc6b2d9df84ddc48 /net/smc/smc_close.c | |
parent | da05bf2981f1035fc37d4253ccf0692faf19b8c0 (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