]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb: client: let send_done handle a completion without IB_SEND_SIGNALED
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Jan 2026 17:17:00 +0000 (18:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Feb 2026 09:19:43 +0000 (10:19 +0100)
commit16c8be3d55441287ddd334e25df4cc376450dec9
tree5549b4e0353c101a7151ee2e3d68e2ab0f63b8c6
parent6bf260ace7301a4557a8155f562e13b9e0c808c8
smb: client: let send_done handle a completion without IB_SEND_SIGNALED

commit cf74fcdc43b322b6188a0750b5ee79e38be6d078 upstream.

With smbdirect_send_batch processing we likely have requests without
IB_SEND_SIGNALED, which will be destroyed in the final request
that has IB_SEND_SIGNALED set.

If the connection is broken all requests are signaled
even without explicit IB_SEND_SIGNALED.

Cc: <stable@vger.kernel.org> # 6.18.x
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/smb/client/smbdirect.c