diff options
| author | Stefan Metzmacher <metze@samba.org> | 2025-10-15 17:05:27 +0200 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-10-23 20:58:51 -0500 |
| commit | dd6940f5c7dbee7ae70708f4c8967c3c8cb1d965 (patch) | |
| tree | feef0f9731573188eef92083a7613106bf0a69f9 /tools/testing/radix-tree/linux/bitops/ffz.h | |
| parent | 123111ea6226c5302cc192028e7ae923c44e1382 (diff) | |
smb: server: let free_transport() wait for SMBDIRECT_SOCKET_DISCONNECTED
We should wait for the rdma_cm to become SMBDIRECT_SOCKET_DISCONNECTED!
At least on the client side (with similar code)
wait_event_interruptible() often returns with -ERESTARTSYS instead of
waiting for SMBDIRECT_SOCKET_DISCONNECTED.
We should use wait_event() here too, which makes the code be identical
in client and server, which will help when moving to common functions.
Fixes: b31606097de8 ("smb: server: move smb_direct_disconnect_rdma_work() into free_transport()")
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/testing/radix-tree/linux/bitops/ffz.h')
0 files changed, 0 insertions, 0 deletions
