Loading fs/cifs/cifsfs.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 */ fs/cifs/smb2transport.c +4 −2 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
fs/cifs/cifsfs.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 */
fs/cifs/smb2transport.c +4 −2 Original line number Diff line number Diff line Loading @@ -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; } Loading