diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 10:01:11 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-20 22:56:10 +0900 |
| commit | 56549c18a4f75309161ca780feaa4d17904e3ee9 (patch) | |
| tree | be45aed177c5768abc3dac0564c357b5f555f85f /scripts/stackusage | |
| parent | 7de5cf9bcf96bf2ee2ea2ad1d35a7b950f71161a (diff) | |
| download | linux-56549c18a4f75309161ca780feaa4d17904e3ee9.tar.gz linux-56549c18a4f75309161ca780feaa4d17904e3ee9.zip | |
ksmbd: enable TCP keepalive for accepted connections
A client that disappears without sending a FIN or RST can leave its
ksmbd connection in ESTABLISHED indefinitely. ksmbd sets a socket
receive timeout, but the connection receive loop retries timeout errors
without a limit, so the connection remains in conn_list and consumes the
per-IP connection quota.
Enable SO_KEEPALIVE on accepted TCP sockets so the TCP stack can detect a
silent peer failure. The keepalive idle time, interval, and probe count
remain controlled by the existing TCP sysctl settings.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
