Skip to content
Commit 017d1701 authored by Stefan Metzmacher's avatar Stefan Metzmacher Committed by Steve French
Browse files

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"
(d08089f6).

Cc: stable@vger.kernel.org
Fixes: d08089f6 ("cifs: Change the I/O paths to use an iterator rather than a page list")
Reviewed-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarStefan Metzmacher <metze@samba.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent b608e2c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment