diff options
| author | 2026-10-05 11:20:33 +0900 | |
|---|---|---|
| committer | 2026-10-21 08:55:28 +0900 | |
| commit | 20e3068315423e6e493588dd94d462c8e7fd3a2e (patch) | |
| tree | e13885a304a07d12c5c60da34d0343f021f8b6c8 /scripts/Makefile.thinlto | |
| parent | ksmbd: retry break notifications on another connection (diff) | |
ksmbd: keep lease tables until their last lease is closed
Disconnecting one channel destroys the lease table for its ClientGuid,
even when another channel still uses the same opens. A lease break ACK
on the surviving channel can no longer find the lease. Detached durable
opens also lose their lease lookup entries before reconnect or expiry.
Tie a client table to its lease entries instead of the connection which
created it. Remove the table when its last lease is removed, and release
any remaining entries at server shutdown. Do not destroy client tables
from connection teardown or keep a connection reference in each table.
For a detached lease, collect break candidates using the table's
ClientGuid directly. The existing notification retry path takes its own
references on matching live connections.
Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers")
Reported-by: Pan Guihua <pan.guihua@datatom.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
