]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
cifs: update internal module version number
authorSteve French <stfrench@microsoft.com>
Sun, 29 Mar 2020 21:44:43 +0000 (16:44 -0500)
committerSteve French <stfrench@microsoft.com>
Sun, 29 Mar 2020 21:59:31 +0000 (16:59 -0500)
To 2.26

Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.h
fs/cifs/smb2transport.c

index b87456bae1a12b77fea33866f9851cafd468efc0..c9e2e6bbca13bd754a465857ded6de6789f1a70f 100644 (file)
@@ -156,5 +156,5 @@ extern int cifs_truncate_page(struct address_space *mapping, loff_t from);
 extern const struct export_operations cifs_export_ops;
 #endif /* CONFIG_CIFS_NFSD_EXPORT */
 
-#define CIFS_VERSION   "2.25"
+#define CIFS_VERSION   "2.26"
 #endif                         /* _CIFSFS_H */
index 2b67a7769d749a4b8807733cc50673453489784b..20cc79e5c15d5152a98f95b13c8a7103c54b603f 100644 (file)
@@ -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;
 }