diff options
author | 2023-03-21 15:25:34 +0900 | |
---|---|---|
committer | 2023-03-22 16:38:33 -0500 | |
commit | be6f42fad5f5fd1fea9d562df82c38ad6ed3bfe9 (patch) | |
tree | f7fff69255f9c2c65d5e765dc49c2da7c8f8d86a /scripts/generate_rust_analyzer.py | |
parent | ksmbd: fix possible refcount leak in smb2_open() (diff) | |
download | linux-rng-be6f42fad5f5fd1fea9d562df82c38ad6ed3bfe9.tar.xz linux-rng-be6f42fad5f5fd1fea9d562df82c38ad6ed3bfe9.zip |
ksmbd: don't terminate inactive sessions after a few seconds
Steve reported that inactive sessions are terminated after a few
seconds. ksmbd terminate when receiving -EAGAIN error from
kernel_recvmsg(). -EAGAIN means there is no data available in timeout.
So ksmbd should keep connection with unlimited retries instead of
terminating inactive sessions.
Cc: stable@vger.kernel.org
Reported-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions