From: Ursula Braun <ubraun@xxxxxxxxxxxxx> Date: Thu, 19 Apr 2018 15:56:40 +0200 > From: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx> > > Calling shutdown with SHUT_RD and SHUT_RDWR for a listening SMC socket > crashes, because > commit 127f49705823 ("net/smc: release clcsock from tcp_listen_worker") > releases the internal clcsock in smc_close_active() and sets smc->clcsock > to NULL. > For SHUT_RD the smc_close_active() call is removed. > For SHUT_RDWR the kernel_sock_shutdown() call is omitted, since the > clcsock is already released. > > Fixes: 127f49705823 ("net/smc: release clcsock from tcp_listen_worker") > Signed-off-by: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx> > Reported-by: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx> 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