summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-01-28 02:41:47 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2023-01-28 02:41:47 +0100
commit5af6ce7049365952f7f023155234fe091693ead1 (patch)
treebc4c811d9cb27254cc5b815e21f72166651cee9b /fs
parentMerge tag 'block-6.2-2023-01-27' of git://git.kernel.dk/linux (diff)
parentcifs: Fix oops due to uncleared server->smbd_conn in reconnect (diff)
downloadlinux-5af6ce7049365952f7f023155234fe091693ead1.tar.xz
linux-5af6ce7049365952f7f023155234fe091693ead1.zip
Merge tag '6.2-rc5-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6
Pull cifs fix from Steve French: "Fix for reconnect oops in smbdirect (RDMA), also is marked for stable" * tag '6.2-rc5-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6: cifs: Fix oops due to uncleared server->smbd_conn in reconnect
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/smbdirect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c
index 90789aaa6567..8c816b25ce7c 100644
--- a/fs/cifs/smbdirect.c
+++ b/fs/cifs/smbdirect.c
@@ -1405,6 +1405,7 @@ void smbd_destroy(struct TCP_Server_Info *server)
destroy_workqueue(info->workqueue);
log_rdma_event(INFO, "rdma session destroyed\n");
kfree(info);
+ server->smbd_conn = NULL;
}
/*