summaryrefslogtreecommitdiffstats
path: root/init/init_task.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2014-02-14 10:31:02 +0100
committerSteve French <smfrench@gmail.com>2014-02-14 23:50:47 +0100
commit2365c4eaf077c48574ab6f143960048fc0f31518 (patch)
treed710354608b5fe6a559dc5c0045ab0e6104ffe28 /init/init_task.c
parentcifs: ensure that uncached writes handle unmapped areas correctly (diff)
downloadlinux-2365c4eaf077c48574ab6f143960048fc0f31518.tar.xz
linux-2365c4eaf077c48574ab6f143960048fc0f31518.zip
CIFS: Fix too big maxBuf size for SMB3 mounts
SMB3 servers can respond with MaxTransactSize of more than 4M that can cause a memory allocation error returned from kmalloc in a lock codepath. Also the client doesn't support multicredit requests now and allows buffer sizes of 65536 bytes only. Set MaxTransactSize to this maximum supported value. Cc: stable@vger.kernel.org # 3.7+ Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions