diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2021-10-15 17:14:02 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-10-15 09:18:29 -0500 |
commit | 4bc59477c3298b191c72b5d99feb54a1dc8c254d (patch) | |
tree | 39815c754c15dfa9f577f4e757aae133d5554123 /kernel/kcmp.c | |
parent | dbad63001eac3abeeb2b66ddf71504e8ab128c5c (diff) | |
download | linux-4bc59477c3298b191c72b5d99feb54a1dc8c254d.tar.gz linux-4bc59477c3298b191c72b5d99feb54a1dc8c254d.tar.bz2 linux-4bc59477c3298b191c72b5d99feb54a1dc8c254d.zip |
ksmbd: limit read/write/trans buffer size not to exceed 8MB
ksmbd limit read/write/trans buffer size not to exceed maximum 8MB.
And set the minimum value of max response buffer size to 64KB.
Windows client doesn't send session setup request if ksmbd set max
trans/read/write size lower than 64KB in smb2 negotiate.
It means windows allow at least 64 KB or more about this value.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions