summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd/smb2ops.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-03-21 07:25:34 +0100
committerSteve French <stfrench@microsoft.com>2023-03-22 22:38:33 +0100
commitbe6f42fad5f5fd1fea9d562df82c38ad6ed3bfe9 (patch)
treef7fff69255f9c2c65d5e765dc49c2da7c8f8d86a /fs/ksmbd/smb2ops.c
parentksmbd: fix possible refcount leak in smb2_open() (diff)
downloadlinux-be6f42fad5f5fd1fea9d562df82c38ad6ed3bfe9.tar.xz
linux-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 'fs/ksmbd/smb2ops.c')
0 files changed, 0 insertions, 0 deletions