]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: add smb-direct shutdown
authorNamjae Jeon <linkinjeon@kernel.org>
Mon, 18 Dec 2023 15:32:41 +0000 (00:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:50 +0000 (10:41 +0100)
commit51d0b879d6f54a0454ec0dbb4bceed2b819a6662
tree9e0bd552b255493176e5a5d381d7051d3e48ca64
parentd15077ad35afb78e33ab22c9e8a459eb9c13990a
ksmbd: add smb-direct shutdown

[ Upstream commit 136dff3a6b71dc16c30b35cc390feb0bfc32ed50 ]

When killing ksmbd server after connecting rdma, ksmbd threads does not
terminate properly because the rdma connection is still alive.
This patch add shutdown operation to disconnect rdma connection while
ksmbd threads terminate.

Signed-off-by: Yufan Chen <wiz.chen@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/connection.c
fs/ksmbd/connection.h
fs/ksmbd/transport_rdma.c