Karsten Graul
1ad2405833
net/smc: fix restoring of fallback changes
...
When a listen socket is closed then all non-accepted sockets in its
accept queue are to be released. Inside __smc_release() the helper
smc_restore_fallback_changes() restores the changes done to the socket
without to check if the clcsocket has a file set. This can result in
a crash. Fix this by checking the file pointer first.
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Fixes: f536dffc0b79 ("net/smc: fix closing of fallback SMC sockets")
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-19 15:30:23 -07:00
..
2020-06-14 01:57:21 +09:00
2020-06-20 21:33:57 -07:00
2020-02-24 13:02:53 -08:00
2020-06-28 21:37:23 -07:00
2020-05-18 17:35:02 -07:00
2020-06-13 16:27:13 -07:00
2020-05-24 13:47:27 -07:00
2020-06-09 12:59:45 -07:00
2020-06-03 16:27:18 -07:00
2020-06-30 22:21:29 +02:00
2020-07-08 08:27:56 +02:00
2020-07-07 15:37:57 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-16 16:02:08 +02:00
2020-07-17 12:33:18 -07:00
2020-06-14 01:57:21 +09:00
2020-06-13 16:27:13 -07:00
2020-06-14 01:57:21 +09:00
2020-04-28 14:39:46 -07:00
2020-06-24 14:39:43 -07:00
2020-05-23 16:56:17 -07:00
2020-07-09 12:35:33 -07:00
2020-07-17 18:54:37 -07:00
2020-06-14 01:57:21 +09:00
2019-09-26 08:56:17 +02:00
2020-07-09 13:07:45 -07:00
2020-07-13 17:32:17 -07:00
2020-05-19 12:50:14 -07:00
2020-06-14 01:57:21 +09:00
2019-07-08 19:48:57 -07:00
2020-07-08 15:24:33 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-06-28 21:41:23 -07:00
2020-06-25 12:55:45 +02:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-07-07 15:27:37 -07:00
2020-06-14 01:57:21 +09:00
2020-07-03 14:47:03 +02:00
2020-06-14 01:57:21 +09:00
2020-07-01 15:49:11 -07:00
2020-06-09 12:59:45 -07:00
2020-07-17 13:08:08 -07:00
2020-06-14 01:57:21 +09:00
2020-06-24 14:34:58 -07:00
2020-06-14 01:57:21 +09:00
2020-04-27 02:07:40 -04:00
2020-05-23 16:36:05 -07:00
2020-06-30 18:36:13 -07:00
2020-07-01 17:35:17 -07:00
2019-12-16 10:15:49 +01:00
2020-06-09 12:59:45 -07:00
2020-06-20 21:31:43 -07:00
2020-07-09 12:31:28 -07:00
2020-06-25 16:11:33 -07:00
2020-07-19 15:30:23 -07:00
2019-06-22 08:59:24 -04:00
2020-07-02 20:35:33 -07:00
2020-06-14 01:57:21 +09:00
2020-07-08 15:39:50 -07:00
2020-06-14 01:57:21 +09:00
2020-06-14 01:57:21 +09:00
2020-07-15 17:47:15 -07:00
2019-08-10 15:25:47 -07:00
2020-06-26 11:52:57 +02:00
2020-06-14 01:57:21 +09:00
2020-06-30 15:44:03 +02:00
2020-06-30 12:29:39 -07:00
2020-06-01 12:05:45 -07:00
2020-05-23 16:56:17 -07:00
2020-06-14 01:57:21 +09:00
2020-05-23 16:56:17 -07:00
2020-05-29 13:10:39 -07:00
2019-05-21 10:50:45 +02:00