commit | 8dce2786a2905e5b0ce49263910b4a47af75b752 | [log] [tgz] |
---|---|---|
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | Fri Jan 26 09:28:47 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 26 10:41:56 2018 -0500 |
tree | 0ff7aaac425f4fcc83477af6dc6b2d9df84ddc48 | |
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>