diff options
| author | Stefan Metzmacher <metze@samba.org> | 2025-10-28 18:43:46 +0100 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-10-29 20:13:13 -0500 |
| commit | 895ad6f7083b0c9f1902b23b84136298a492cbeb (patch) | |
| tree | 262affab01cbd60c56f08bc68740578caa323945 /arch/um/kernel/syscall_user.c | |
| parent | fac56c4651ae95f3f2b468c2cf1884cf0e6d18c1 (diff) | |
smb: client: call smbd_destroy() in the same splace as kernel_sock_shutdown()/sock_release()
With commit b0432201a11b ("smb: client: let destroy_mr_list() keep
smbdirect_mr_io memory if registered") the changes from commit
214bab448476 ("cifs: Call MID callback before destroying transport") and
commit 1d2a4f57cebd ("cifs:smbd When reconnecting to server, call
smbd_destroy() after all MIDs have been called") are no longer needed.
And it's better to use the same logic flow, so that
the chance of smbdirect related problems is smaller.
Fixes: 214bab448476 ("cifs: Call MID callback before destroying transport")
Fixes: 1d2a4f57cebd ("cifs:smbd When reconnecting to server, call smbd_destroy() after all MIDs have been called")
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'arch/um/kernel/syscall_user.c')
0 files changed, 0 insertions, 0 deletions
