diff options
| author | Stefan Metzmacher <metze@samba.org> | 2026-01-22 18:16:57 +0100 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-02-08 17:12:58 -0600 |
| commit | 21538121efe6c8c5b51c742fa02cbe820bc48714 (patch) | |
| tree | f911cf0a2df8fc9d6f3f8f48bb0f6ef777759b95 /include/linux | |
| parent | 2c1ac39ce9cd4112f406775c626eef7f3eb4c481 (diff) | |
smb: client: make use of smbdirect_socket.send_io.bcredits
It turns out that our code will corrupt the stream of
reassabled data transfer messages when we trigger an
immendiate (empty) send.
In order to fix this we'll have a single 'batch' credit per
connection. And code getting that credit is free to use
as much messages until remaining_length reaches 0, then
the batch credit it given back and the next logical send can
happen.
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
