]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: minor debugging clarifications in rfc1001 len processing
authorSteve French <stfrench@microsoft.com>
Wed, 29 Aug 2018 14:22:22 +0000 (09:22 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 3 Sep 2018 04:21:42 +0000 (23:21 -0500)
commitc238b1c59c6c6ab4d5bc5bc4dc961ce849ab0dc7
treeff0569d29fa82637e82aad1af4c95e01ec87b1e3
parent503c929e3933af70e492132aeb0be2bf39fa77ef
smb3: minor debugging clarifications in rfc1001 len processing

I ran into some cases where server was returning the wrong length
on frames but I couldn't easily match them to the command in the
network trace (or server logs) since I need the command and/or
multiplex id to find the offending SMB2/SMB3 command.  Add these
two fields to the log message. In the case of padding too much
it may not be a problem in all cases but might have correlated
to a network disconnect case in some problems we have been
looking at. In the case of frame too short is even more important.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smb2misc.c