summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-01-27 17:41:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-01-27 17:41:47 -0800
commit5af6ce7049365952f7f023155234fe091693ead1 (patch)
treebc4c811d9cb27254cc5b815e21f72166651cee9b
parent90aaef4e35c4a74b0f1593d06e39eda867ef13d3 (diff)
parentb7ab9161cf5ddc42a288edf9d1a61f3bdffe17c7 (diff)
downloadlinux-5af6ce7049365952f7f023155234fe091693ead1.tar.bz2
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
-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;
}
/*