summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-08-13 09:01:00 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 22:38:24 +0900
commitc50e628122aed077695669e25b842e778511a43d (patch)
tree627754880e68217079953d70e6be95119ad0f9e9 /scripts/stackusage
parent2cbd4a8bf460cdf414a2d7e4912c5bcfe3d0fdc2 (diff)
downloadlinux-c50e628122aed077695669e25b842e778511a43d.tar.gz
linux-c50e628122aed077695669e25b842e778511a43d.zip
ksmbd: scope session state changes to bound connections
ksmbd_all_conn_set_status() treats every connection whose transient binding flag is set as belonging to the target SessionId. A logoff or session replacement can consequently move an unrelated connection to NEED_RECONNECT or NEED_SETUP. Pass the target session itself and select connections using either the connection-local session xarray or the session's permanent channel list. Use the same association test while waiting for requests to drain. Serialize session-wide status changes under request_lock and do not overwrite EXITING or RELEASING. Protect the shutdown transition with the same lock so a concurrent session update cannot revive a closing connection. Fixes: f5a544e3bab7 ("ksmbd: add support for SMB3 multichannel") Fixes: abcc506a9a71 ("ksmbd: fix racy issue from smb2 close and logoff with multichannel") Fixes: c444139cb747 ("ksmbd: rewrite stop_sessions() with restartable iteration") Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions