mirror_ubuntu-kernels/fs/smb
David Howells 5a20b7cb0d cifs: Fix signature miscalculation
Fix the calculation of packet signatures by adding the offset into a page
in the read or write data payload when hashing the pages from it.

Fixes: 39bc58203f ("cifs: Add a function to Hash the contents of an iterator")
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Tom Talpey <tom@talpey.com>
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-09-12 19:28:48 -05:00
..
client cifs: Fix signature miscalculation 2024-09-12 19:28:48 -05:00
common smb: smb2pdu.h: Use static_assert() to check struct sizes 2024-08-15 16:06:55 -05:00
server ksmbd: Unlock on in ksmbd_tcp_set_interfaces() 2024-08-29 20:28:37 -05:00
Kconfig
Makefile