summaryrefslogtreecommitdiff
path: root/mm/mmu_context.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2018-03-13 10:41:54 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-15 09:49:13 -0400
commit3d502067599f0db12e74e6646aee8728efe3e5be (patch)
tree1db2e80c9656338b5edf75e163abcd3c9863dbdf /mm/mmu_context.c
parentcf55612a945039476abfd73e39064b2e721c3272 (diff)
net/smc: simplify wait when closing listen socket
Closing of a listen socket wakes up kernel_accept() of smc_tcp_listen_worker(), and then has to wait till smc_tcp_listen_worker() gives up the internal clcsock. The wait logic introduced with commit 127f49705823 ("net/smc: release clcsock from tcp_listen_worker") might wait longer than necessary. This patch implements the idea to implement the wait just with flush_work(), and gets rid of the extra smc_close_wait_listen_clcsock() function. Fixes: 127f49705823 ("net/smc: release clcsock from tcp_listen_worker") Reported-by: Hans Wippel <hwippel@linux.vnet.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mmu_context.c')
0 files changed, 0 insertions, 0 deletions