OSDN Git Service

smb3: fix signing verification of large reads
authorSteve French <stfrench@microsoft.com>
Thu, 5 Sep 2019 04:07:52 +0000 (23:07 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:38 +0000 (11:43 -0500)
commit46f17d17687e8140f2e4e517d7dfa65e62fcc5f4
tree2a6b259da7ebaca6d9ae45953c7a69f5eeb88151
parent4f5c10f1ad45ae453822113dd0fe39ed757037fb
smb3: fix signing verification of large reads

Code cleanup in the 5.1 kernel changed the array
passed into signing verification on large reads leading
to warning messages being logged when copying files to local
systems from remote.

   SMB signature verification returned error = -5

This changeset fixes verification of SMB3 signatures of large
reads.

Suggested-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smb2pdu.c