summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2transport.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2020-03-29 16:44:43 -0500
committerSteve French <stfrench@microsoft.com>2020-03-29 16:59:31 -0500
commitf460c502747305258ccc8a028adfa55e2c9d2435 (patch)
tree0d2c895355c89c4430238e808f646960f266a67b /fs/cifs/smb2transport.c
parent3946d0d04bb360acca72db5efe9ae8440012d9dc (diff)
downloadlinux-f460c502747305258ccc8a028adfa55e2c9d2435.tar.gz
linux-f460c502747305258ccc8a028adfa55e2c9d2435.tar.bz2
linux-f460c502747305258ccc8a028adfa55e2c9d2435.zip
cifs: update internal module version number
To 2.26 Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2transport.c')
-rw-r--r--fs/cifs/smb2transport.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/cifs/smb2transport.c b/fs/cifs/smb2transport.c
index 2b67a7769d74..20cc79e5c15d 100644
--- a/fs/cifs/smb2transport.c
+++ b/fs/cifs/smb2transport.c
@@ -638,9 +638,11 @@ smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server)
if (rc)
return rc;
- if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE))
+ if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE)) {
+ dump_stack();
+ cifs_dbg(VFS, "sign fail cmd 0x%x message id 0x%llx\n", shdr->Command, shdr->MessageId);
return -EACCES;
- else
+ } else
return 0;
}