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, 13 Feb 2023 00:32:16 +0000 (18:32 -0600)
commita58a6426f64831a72a2df637600cdea621aac962
treee6c5dbdd12f882958e49af595433a9a8dd80a8d6
parent5571e4fb0542d48ed5f549ad81c1c6611796d103
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