]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: set correct max-buffer-size for smb2_ioctl_init()
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 8 Jan 2020 03:08:07 +0000 (13:08 +1000)
committerSteve French <stfrench@microsoft.com>
Mon, 27 Jan 2020 01:24:16 +0000 (19:24 -0600)
commit297bfb2944b9681e4294f00a120eb7f1dc33b43a
tree0141e8c00b2db22b0eb079d3af60f2898178bff0
parente3369becfdd80e02c71c1b14ef9d48a3f25e810c
cifs: set correct max-buffer-size for smb2_ioctl_init()

Fix two places where we need to adjust down the max response size for
ioctl when it is used together with compounding.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2ops.c