Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f460c502
Commit
f460c502
authored
Mar 29, 2020
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cifs: update internal module version number
To 2.26 Signed-off-by:
Steve French
<
stfrench@microsoft.com
>
parent
3946d0d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
fs/cifs/cifsfs.h
fs/cifs/cifsfs.h
+1
-1
fs/cifs/smb2transport.c
fs/cifs/smb2transport.c
+4
-2
No files found.
fs/cifs/cifsfs.h
View file @
f460c502
...
@@ -156,5 +156,5 @@ extern int cifs_truncate_page(struct address_space *mapping, loff_t from);
...
@@ -156,5 +156,5 @@ extern int cifs_truncate_page(struct address_space *mapping, loff_t from);
extern
const
struct
export_operations
cifs_export_ops
;
extern
const
struct
export_operations
cifs_export_ops
;
#endif
/* CONFIG_CIFS_NFSD_EXPORT */
#endif
/* CONFIG_CIFS_NFSD_EXPORT */
#define CIFS_VERSION "2.2
5
"
#define CIFS_VERSION "2.2
6
"
#endif
/* _CIFSFS_H */
#endif
/* _CIFSFS_H */
fs/cifs/smb2transport.c
View file @
f460c502
...
@@ -638,9 +638,11 @@ smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server)
...
@@ -638,9 +638,11 @@ smb2_verify_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server)
if
(
rc
)
if
(
rc
)
return
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
;
return
-
EACCES
;
else
}
else
return
0
;
return
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment