diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2018-01-26 11:28:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-26 18:41:56 +0300 |
commit | 8dce2786a2905e5b0ce49263910b4a47af75b752 (patch) | |
tree | 0ff7aaac425f4fcc83477af6dc6b2d9df84ddc48 /net/smc/smc.h | |
parent | da05bf2981f1035fc37d4253ccf0692faf19b8c0 (diff) | |
download | linux-8dce2786a2905e5b0ce49263910b4a47af75b752.tar.xz |
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.h')
0 files changed, 0 insertions, 0 deletions