cifs: remove unneeded 2bytes of padding from smb2 tree connect
authorNamjae Jeon <linkinjeon@kernel.org>
Wed, 8 Feb 2023 09:34:37 +0000 (18:34 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 20 Feb 2023 17:48:48 +0000 (11:48 -0600)
commit5574920c7a6b0ce7f3d0888ccf1efb9b7870b928
tree245d915b5869c110f08e328c8e5b5ee596e429a2
parent225a05043cd87a37455bfbff8c35d4e276519387
cifs: remove unneeded 2bytes of padding from smb2 tree connect

Due to the 2bytes of padding from the smb2 tree connect request,
there is an unneeded difference between the rfc1002 length and the actual
frame length. In the case of windows client, it is sent by matching it
exactly.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c