From: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx> 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 <hwippel@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx> This looks a lot better, applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html