cifs: Reapply lost fix from commit 30b2b2196d6e
authorDavid Howells <dhowells@redhat.com>
Tue, 18 Apr 2023 22:49:12 +0000 (23:49 +0100)
committerSteve French <stfrench@microsoft.com>
Wed, 19 Apr 2023 02:26:09 +0000 (21:26 -0500)
commit023fc150a39ffe656da3e459ad801eb1c7fdfad9
treeb23a2ac7caaa9e3aa8b468088bece6bc23329abb
parentac13692844f2fb23c503066c0cb231243218a7c8
cifs: Reapply lost fix from commit 30b2b2196d6e

Reapply the fix from:

   30b2b2196d6e ("cifs: do not include page data when checking signature")

that got lost in the iteratorisation of the cifs driver.

Fixes: d08089f649a0 ("cifs: Change the I/O paths to use an iterator rather than a page list")
Acked-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Reported-by: Paulo Alcantara <pc@manguebit.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Paulo Alcantara <pc@cjr.nz>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Bharath S M <bharathsm@microsoft.com>
cc: Enzo Matsumiya <ematsumiya@suse.de>
cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c