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>
Thu, 1 Jun 2023 04:01:52 +0000 (23:01 -0500)
commite27188723f721bcb927518983f7386811c98429f
treed956fcde59fedf82c9d512b0fe578e5d663780dc
parent96cfd2a70c53721ed4389241abb605f8d3d4c335
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