diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2024-03-08 18:34:10 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-03-10 19:52:42 -0500 |
commit | f49af462875a0922167cf301cf126cd04009070e (patch) | |
tree | 86ef616e4d3608f0b098e329899c37740a587207 /fs/smb/common | |
parent | 8fe7062b7d11fcd21c4dcb5f530eaa1a099b24e7 (diff) |
smb: common: fix fields sizes in compression_pattern_payload_v1
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>
Diffstat (limited to 'fs/smb/common')
-rw-r--r-- | fs/smb/common/smb2pdu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/smb/common/smb2pdu.h b/fs/smb/common/smb2pdu.h index 57f2343164a3..17f1bddb95d0 100644 --- 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; |