Skip to content

Commit f460c50

Browse files
committed
cifs: update internal module version number
To 2.26 Signed-off-by: Steve French <[email protected]>
1 parent 3946d0d commit f460c50

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

fs/cifs/cifsfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,5 @@ extern int cifs_truncate_page(struct address_space *mapping, loff_t from);
156156
extern const struct export_operations cifs_export_ops;
157157
#endif /* CONFIG_CIFS_NFSD_EXPORT */
158158

159-
#define CIFS_VERSION "2.25"
159+
#define CIFS_VERSION "2.26"
160160
#endif /* _CIFSFS_H */

fs/cifs/smb2transport.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,11 @@ smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server)
638638
if (rc)
639639
return rc;
640640

641-
if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE))
641+
if (memcmp(server_response_sig, shdr->Signature, SMB2_SIGNATURE_SIZE)) {
642+
dump_stack();
643+
cifs_dbg(VFS, "sign fail cmd 0x%x message id 0x%llx\n", shdr->Command, shdr->MessageId);
642644
return -EACCES;
643-
else
645+
} else
644646
return 0;
645647
}
646648

0 commit comments

Comments
 (0)