aboutsummaryrefslogtreecommitdiff
path: root/fs/ksmbd
diff options
context:
space:
mode:
authorGravatar Steve French <stfrench@microsoft.com> 2023-04-30 12:27:49 -0500
committerGravatar Steve French <stfrench@microsoft.com> 2023-05-02 09:23:23 -0500
commit3d6b15a8f3aeb4a6eed69a22822def0d0b039a16 (patch)
tree22058cddd5f7ef47d849ba3937a2582c292ed26b /fs/ksmbd
parentMerge tag '6.4-rc-smb3-client-fixes-part1' of git://git.samba.org/sfrench/cif... (diff)
downloadlinux-3d6b15a8f3aeb4a6eed69a22822def0d0b039a16.tar.gz
linux-3d6b15a8f3aeb4a6eed69a22822def0d0b039a16.tar.bz2
linux-3d6b15a8f3aeb4a6eed69a22822def0d0b039a16.zip
SMB3.1.1: correct definition for app_instance_id create contexts
The name lengths were incorrect for two create contexts. SMB2_CREATE_APP_INSTANCE_ID SMB2_CREATE_APP_INSTANCE_VERSION Update the definitions for these two to match the protocol specs. Acked-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd')
-rw-r--r--fs/ksmbd/smb2pdu.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/ksmbd/smb2pdu.h b/fs/ksmbd/smb2pdu.h
index 67dc552f2ef7..aca9cfc73caa 100644
--- a/fs/ksmbd/smb2pdu.h
+++ b/fs/ksmbd/smb2pdu.h
@@ -81,22 +81,6 @@ struct create_durable_reconn_v2_req {
__le32 Flags;
} __packed;
-struct create_app_inst_id {
- struct create_context ccontext;
- __u8 Name[8];
- __u8 Reserved[8];
- __u8 AppInstanceId[16];
-} __packed;
-
-struct create_app_inst_id_vers {
- struct create_context ccontext;
- __u8 Name[8];
- __u8 Reserved[2];
- __u8 Padding[4];
- __le64 AppInstanceVersionHigh;
- __le64 AppInstanceVersionLow;
-} __packed;
-
struct create_alloc_size_req {
struct create_context ccontext;
__u8 Name[8];