diff options
author | Stefan Metzmacher <metze@samba.org> | 2024-08-21 16:31:39 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-08-25 09:06:25 -0500 |
commit | 017d1701743657fbfaea74397727a9d2b81846b7 (patch) | |
tree | cd8e274d0e0fa6221950086635ea98c7587272e9 /lib/crypto/mpi/mpi-add.c | |
parent | b608e2c318789aeba49055747166e13bee57df4a (diff) |
smb/client: fix rdma usage in smb2_async_writev()
rqst.rq_iter needs to be truncated otherwise we'll
also send the bytes into the stream socket...
This is the logic behind rqst.rq_npages = 0, which was removed in
"cifs: Change the I/O paths to use an iterator rather than a page list"
(d08089f649a0cfb2099c8551ac47eef0cc23fdf2).
Cc: stable@vger.kernel.org
Fixes: d08089f649a0 ("cifs: Change the I/O paths to use an iterator rather than a page list")
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions