summaryrefslogtreecommitdiff
path: root/fs/affs
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2014-02-14 09:31:02 (GMT)
committerJiri Slaby <jslaby@suse.cz>2014-03-05 16:13:41 (GMT)
commit18cb7c14a0a8ba6d07c18b24e4434dc31949d5f1 (patch)
treec3440a920fdd6c1996f79fc74e4661e978a20a01 /fs/affs
parent90d369693d48ec7ffa4ca039e6fd14e861486251 (diff)
downloadlinux-fsl-qoriq-18cb7c14a0a8ba6d07c18b24e4434dc31949d5f1.tar.xz
CIFS: Fix too big maxBuf size for SMB3 mounts
commit 2365c4eaf077c48574ab6f143960048fc0f31518 upstream. 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. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'fs/affs')
0 files changed, 0 insertions, 0 deletions