Ursula Braun
1255fcb2a6
net/smc: fix shutdown in state SMC_LISTEN
...
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>
2018-04-19 16:38:39 -04:00
..
2017-11-02 11:10:55 +01:00
2018-04-05 21:36:23 -07:00
2017-11-21 15:57:07 -08:00
2018-04-01 20:53:50 -04:00
2018-03-26 12:07:48 -04:00
2018-03-26 12:07:48 -04:00
2018-03-26 12:07:48 -04:00
2018-04-01 19:49:34 -04:00
2018-04-08 17:19:15 -04:00
2018-02-01 07:43:56 -08:00
2018-03-31 22:19:00 -04:00
2018-04-19 13:37:10 -04:00
2018-03-27 13:18:09 -04:00
2018-04-10 12:25:30 -07:00
2018-04-19 12:58:20 -04:00
2018-04-07 22:32:31 -04:00
2018-03-26 12:07:48 -04:00
2018-04-17 15:17:41 -04:00
2018-04-08 10:34:49 -04:00
2017-10-25 13:00:27 +09:00
2018-04-04 12:04:59 -04:00
2017-11-01 12:19:03 +09:00
2018-04-16 12:57:06 -04:00
2018-04-05 22:23:43 -04:00
2018-03-23 11:31:58 -04:00
2018-03-27 13:18:09 -04:00
2018-03-27 13:18:09 -04:00
2018-04-13 12:17:26 -04:00
2017-11-21 16:35:54 -08:00
2018-04-19 13:54:53 -04:00
2018-03-29 16:23:26 -04:00
2018-03-28 22:55:18 +02:00
2018-03-27 13:18:09 -04:00
2018-03-27 10:38:26 -04:00
2018-04-01 19:49:34 -04:00
2018-02-14 14:01:41 -05:00
2018-04-07 22:32:31 -04:00
2018-03-26 12:07:48 -04:00
2018-02-19 18:46:11 -05:00
2017-11-08 16:12:33 +09:00
2018-03-29 13:47:54 -04:00
2018-04-16 11:38:43 -04:00
2018-03-27 13:18:09 -04:00
2017-11-01 12:19:03 +09:00
2018-04-17 09:58:00 -04:00
2018-04-11 10:24:01 -04:00
2018-02-11 14:34:03 -08:00
2018-03-26 12:07:48 -04:00
2018-04-04 11:04:08 -04:00
2018-04-07 12:36:45 -04:00
2018-04-12 22:01:05 -04:00
2018-04-19 16:38:39 -04:00
2018-04-12 21:54:59 -04:00
2018-04-05 19:15:29 -07:00
2017-11-10 13:41:40 +09:00
2018-04-18 13:48:43 -04:00
2018-04-12 21:46:10 -04:00
2018-04-04 11:13:40 -04:00
2018-04-17 09:44:30 -04:00
2017-11-02 11:10:55 +01:00
2018-03-31 23:33:04 -04:00
2018-03-26 12:07:48 -04:00
2018-04-01 19:49:34 -04:00
2018-04-02 20:15:20 +02:00
2018-02-01 09:51:57 -08:00
2017-11-28 13:55:00 +01:00
2018-04-05 11:56:35 -07:00
2018-03-27 13:18:09 -04:00