diff options
author | 2022-01-13 09:51:39 +0900 | |
---|---|---|
committer | 2022-01-18 16:53:08 -0600 | |
commit | 2fd5dcb1c8ef96c9f0fa8bda53ca480524b80ae7 (patch) | |
tree | 3349fd1ab62b69585a7eee6d8dd9a6ecd89d5265 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ksmbd: add smb-direct shutdown (diff) | |
download | linux-dev-2fd5dcb1c8ef96c9f0fa8bda53ca480524b80ae7.tar.xz linux-dev-2fd5dcb1c8ef96c9f0fa8bda53ca480524b80ae7.zip |
ksmbd: smbd: fix missing client's memory region invalidation
if the Channel of a SMB2 WRITE request is
SMB2_CHANNEL_RDMA_V1_INVALIDTE, a client
does not invalidate its memory regions but
ksmbd must do it by sending a SMB2 WRITE response
with IB_WR_SEND_WITH_INV.
But if errors occur while processing a SMB2
READ/WRITE request, ksmbd sends a response
with IB_WR_SEND. So a client could use memory
regions already in use.
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions