David Howells b7ab9161cf cifs: Fix oops due to uncleared server->smbd_conn in reconnect
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>
2023-01-25 09:57:48 -06:00
..
2022-12-14 12:20:00 -08:00
2022-12-19 08:04:50 -06:00
2022-10-20 10:13:32 +02:00
2023-01-18 14:49:51 -06:00
2023-01-18 14:49:51 -06:00
2022-12-19 08:03:12 -06:00
2022-12-19 08:03:12 -06:00
2022-12-15 14:53:14 -08:00
2022-01-19 11:21:08 -06:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00
2022-10-20 10:13:32 +02:00