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>
This commit is contained in:
Enzo Matsumiya 2024-03-08 18:34:10 -03:00 committed by Steve French
parent 8fe7062b7d
commit f49af46287
1 changed files with 2 additions and 2 deletions

View File

@ -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;