diff options
author | 2023-03-16 14:40:43 +0100 | |
---|---|---|
committer | 2023-03-25 14:54:06 -0500 | |
commit | e416ea62a9166e6075a07a970cc5bf79255d2700 (patch) | |
tree | 0fb404168995e112ea94216140748d341a9a3282 /block | |
parent | Merge tag '6.3-rc3-ksmbd-smb3-server-fixes' of git://git.samba.org/ksmbd (diff) | |
download | linux-e416ea62a9166e6075a07a970cc5bf79255d2700.tar.gz linux-e416ea62a9166e6075a07a970cc5bf79255d2700.tar.bz2 linux-e416ea62a9166e6075a07a970cc5bf79255d2700.zip |
ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN
Commit 83dcedd5540d ("ksmbd: fix infinite loop in ksmbd_conn_handler_loop()"),
changes GFP modifiers passed to kvmalloc(). This cause xfstests generic/551
test to fail. We limit pdu length size according to connection status and
maximum number of connections. In the rest, memory allocation of request
is limited by credit management. so these flags are no longer needed.
Fixes: 83dcedd5540d ("ksmbd: fix infinite loop in ksmbd_conn_handler_loop()")
Cc: stable@vger.kernel.org
Signed-off-by: Marios Makassikis <mmakassikis@freebox.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions