From: Ursula Braun <ubr...@linux.vnet.ibm.com> Date: Tue, 13 Mar 2018 10:41:54 +0100
> 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 <hwip...@linux.vnet.ibm.com> > Signed-off-by: Ursula Braun <ubr...@linux.vnet.ibm.com> This looks a lot better, applied, thank you.