]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: call ib_drain_qp when disconnected
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 2 Oct 2022 00:38:48 +0000 (09:38 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 06:15:44 +0000 (01:15 -0500)
commit141fa9824c0fc11d44b2d5bb1266a33e95fa67fd
tree845359fa5a66775ea547e5a760fc7539290227b2
parentdbab80e2071ad8c702e50dab43326608a127d27b
ksmbd: call ib_drain_qp when disconnected

When disconnected, call ib_drain_qp to cancel all pending work requests
and prevent ksmbd_conn_handler_loop from waiting for a long time
for those work requests to compelete.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/transport_rdma.c