diff options
author | David Howells <dhowells@redhat.com> | 2023-01-25 14:02:13 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-01-25 09:57:48 -0600 |
commit | b7ab9161cf5ddc42a288edf9d1a61f3bdffe17c7 (patch) | |
tree | 82f166001f7f75f38b48318e2ffd54824855efa0 /drivers/nvme/host/pci.c | |
parent | 2241ab53cbb5cdb08a6b2d4688feb13971058f65 (diff) | |
download | linux-b7ab9161cf5ddc42a288edf9d1a61f3bdffe17c7.tar.bz2 |
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>
Diffstat (limited to 'drivers/nvme/host/pci.c')
0 files changed, 0 insertions, 0 deletions