https://github.com/torvalds/linux
Revision 9e37b1784f2be9397a903307574ee565bbadfd75 authored by Pavel Shilovsky on 24 August 2017, 22:16:40 UTC, committed by Steve French on 30 August 2017, 19:42:30 UTC
Currently the maximum size of SMB2/3 header is set incorrectly which
leads to hanging of directory listing operations on encrypted SMB3
connections. Fix this by setting the maximum size to 170 bytes that
is calculated as RFC1002 length field size (4) + transform header
size (52) + SMB2 header size (64) + create response size (56).

Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Sachin Prabhu <sprabhu@redhat.com>
1 parent 36fde05
Raw File
Tip revision: 9e37b1784f2be9397a903307574ee565bbadfd75 authored by Pavel Shilovsky on 24 August 2017, 22:16:40 UTC
CIFS: Fix maximum SMB2 header size
Tip revision: 9e37b17
Kconfig
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top