diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-03-21 09:25:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-30 13:51:38 +0300 |
commit | 43e069f9c3e87e8fb64f6dc07d17558e21577922 (patch) | |
tree | c8bc7aed3dda08534724df506941457145b78200 /lib/memory-notifier-error-inject.c | |
parent | ffa9e9f95f4646886dcd7b54c61b9a6f98afa5da (diff) | |
download | linux-43e069f9c3e87e8fb64f6dc07d17558e21577922.tar.xz |
ksmbd: don't terminate inactive sessions after a few seconds
commit be6f42fad5f5fd1fea9d562df82c38ad6ed3bfe9 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions