David Howells
5109607a4e
cifs: Fix oops due to uncleared server->smbd_conn in reconnect
...
commit b7ab9161cf5ddc42a288edf9d1a61f3bdffe17c7 upstream.
In smbd_destroy(), clear the server->smbd_conn pointer after freeing the
smbd_connection struct that it points to so that reconnection doesn't get
confused.
Fixes: 8ef130f9ec27 ("CIFS: SMBD: Implement function to destroy a SMB Direct connection")
Cc: stable@vger.kernel.org
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Acked-by: Tom Talpey <tom@talpey.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Long Li <longli@microsoft.com>
Cc: Pavel Shilovsky <piastryyy@gmail.com>
Cc: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-01 08:34:37 +01:00
..
2021-06-20 21:28:17 -05:00
2022-10-19 17:57:41 -05:00
2022-10-19 17:57:41 -05:00
2022-10-05 01:31:18 -05:00
2022-10-05 01:31:18 -05:00
2021-11-10 16:30:13 -06:00
2021-11-10 16:30:13 -06:00
2022-10-15 10:05:53 -05:00
2021-06-20 21:28:17 -05:00
2022-01-02 20:38:46 -06:00
2022-01-02 20:38:46 -06:00
2022-10-05 01:31:18 -05:00
2021-04-25 16:28:22 -05:00
2021-09-13 14:51:10 -05:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2022-08-05 11:24:03 -05:00
2021-09-13 14:51:10 -05:00
2023-02-01 08:34:32 +01:00
2023-01-07 11:11:50 +01:00
2022-10-19 17:57:51 -05:00
2022-12-21 17:48:11 +01:00
2022-10-05 17:42:38 -05:00
2022-12-21 17:48:11 +01:00
2022-08-19 11:02:26 -05:00
2022-10-13 09:36:39 -05:00
2023-01-24 07:24:41 +01:00
2023-02-01 08:34:24 +01:00
2021-07-22 11:43:23 -05:00
2022-10-18 11:33:43 -05:00
2021-09-13 14:51:10 -05:00
2021-09-13 14:51:10 -05:00
2021-09-13 14:51:10 -05:00
2022-10-23 17:50:10 -05:00
2022-10-07 23:06:48 -05:00
2022-08-11 20:03:04 -05:00
2022-10-05 01:31:18 -05:00
2022-08-10 21:26:08 -05:00
2023-01-24 07:24:41 +01:00
2022-11-16 00:21:04 -06:00
2022-01-19 11:21:08 -06:00
2023-01-18 11:58:14 +01:00
2022-08-11 10:33:18 -05:00
2023-01-24 07:24:41 +01:00
2022-08-29 12:47:15 +01:00
2020-12-14 09:16:22 -06:00
2022-08-17 18:07:13 -05:00
2019-05-24 17:36:45 +02:00
2019-05-24 17:36:45 +02:00
2022-02-17 07:00:39 -06:00
2022-10-13 09:36:04 -05:00
2021-09-13 14:51:10 -05:00
2023-02-01 08:34:32 +01:00
2023-01-18 11:58:14 +01:00
2022-12-31 13:32:56 +01:00
2022-03-26 23:09:20 -05:00
2023-01-24 07:24:41 +01:00
2021-11-05 09:50:57 -05:00
2022-11-04 23:34:40 -05:00
2023-01-24 07:24:41 +01:00
2023-02-01 08:34:32 +01:00
2022-10-13 09:36:04 -05:00
2022-10-15 10:05:53 -05:00
2021-09-13 14:51:10 -05:00
2022-11-04 23:34:40 -05:00
2023-02-01 08:34:37 +01:00
2022-10-05 01:29:21 -05:00
2021-09-08 23:59:26 -05:00
2021-09-13 14:51:10 -05:00
2019-01-24 09:37:33 -06:00
2022-10-05 01:31:18 -05:00
2022-10-10 09:10:28 -07:00
2021-04-25 16:28:23 -05:00
2021-09-13 14:51:10 -05:00
2022-08-05 11:24:03 -05:00