]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: smbd: change the default maximum read/write, receive size
authorHyunchul Lee <hyc.lee@gmail.com>
Mon, 18 Dec 2023 15:32:40 +0000 (00:32 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:50 +0000 (10:41 +0100)
commitd15077ad35afb78e33ab22c9e8a459eb9c13990a
treee423dd2fdad4a626881bd685ddc91840dd5b84bf
parentba7c3ff9053b8b7fe41f2dbcd6a239440a8c9d40
ksmbd: smbd: change the default maximum read/write, receive size

[ Upstream commit 4d02c4fdc0e256b493f9a3b604c7ff18f0019f17 ]

Due to restriction that cannot handle multiple
buffer descriptor structures, decrease the maximum
read/write size for Windows clients.

And set the maximum fragmented receive size
in consideration of the receive queue size.

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/transport_rdma.c