Revision 1255fcb2a655f05e02f3a74675a6d6525f187afd authored by Ursula Braun on 19 April 2018, 13:56:40 UTC, committed by David S. Miller on 19 April 2018, 20:38:39 UTC
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@linux.vnet.ibm.com> Reported-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a60faa6
File | Mode | Size |
---|---|---|
arm_arch_timer.h | -rw-r--r-- | 2.9 KB |
arm_pmu.h | -rw-r--r-- | 4.1 KB |
arm_psci.h | -rw-r--r-- | 1.6 KB |
arm_vgic.h | -rw-r--r-- | 10.7 KB |
iodev.h | -rw-r--r-- | 2.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...