projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe7062
)
smb: common: fix fields sizes in compression_pattern_payload_v1
author
Enzo Matsumiya
<ematsumiya@suse.de>
Fri, 8 Mar 2024 21:34:10 +0000
(18:34 -0300)
committer
Steve French
<stfrench@microsoft.com>
Mon, 11 Mar 2024 00:52:42 +0000
(19:52 -0500)
See protocol documentation in MS-SMB2 section 2.2.42.2.2
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/common/smb2pdu.h
patch
|
blob
|
history
diff --git
a/fs/smb/common/smb2pdu.h
b/fs/smb/common/smb2pdu.h
index 57f2343164a34d81ad9816c0dec7c8994b66beb0..17f1bddb95d06320ade25e852bed4f7a55652032 100644
(file)
--- a/
fs/smb/common/smb2pdu.h
+++ b/
fs/smb/common/smb2pdu.h
@@
-238,8
+238,8
@@
struct smb2_compression_transform_hdr_chained {
/* See MS-SMB2 2.2.42.2.2 */
struct compression_pattern_payload_v1 {
- __
le16
Pattern;
- __
le16
Reserved1;
+ __
u8
Pattern;
+ __
u8
Reserved1;
__le16 Reserved2;
__le32 Repetitions;
} __packed;