diff options
| author | Stefan Metzmacher <metze@samba.org> | 2026-01-22 18:16:42 +0100 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-02-08 17:12:57 -0600 |
| commit | 8e94268b21c8235d430ce1aa6dc0b15952744b9b (patch) | |
| tree | 3e95a04f05a37bdd377b72e489f5784a2c9cc0c7 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 6e3c5052f9686192e178806e017b7377155f4bab (diff) | |
smb: smbdirect: introduce 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>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
