Skip to content

Commit f49af46

Browse files
ematsumiyaSteve French
authored andcommitted
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 <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 8fe7062 commit f49af46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/smb/common/smb2pdu.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ struct smb2_compression_transform_hdr_chained {
238238

239239
/* See MS-SMB2 2.2.42.2.2 */
240240
struct compression_pattern_payload_v1 {
241-
__le16 Pattern;
242-
__le16 Reserved1;
241+
__u8 Pattern;
242+
__u8 Reserved1;
243243
__le16 Reserved2;
244244
__le32 Repetitions;
245245
} __packed;

0 commit comments

Comments
 (0)