summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorZe Tan <tanze@kylinos.cn>2026-08-14 13:51:43 +0000
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 22:38:26 +0900
commit492b24b5b651a72ee83a8d481f70246b36192832 (patch)
tree141b5687ab26789fd4a7ac4ba03edaf89aca273b /scripts/stackusage
parent99b25b046e47e4904373cfeb445c5483f1633d88 (diff)
downloadlinux-492b24b5b651a72ee83a8d481f70246b36192832.tar.gz
linux-492b24b5b651a72ee83a8d481f70246b36192832.zip
smb/server: update session counter under sessions table lock
KSMBD_COUNTER_SESSIONS tracks sessions published in sessions_table. Increment it while holding sessions_table_lock so publishing a session and updating the counter happen together. Fixes: b38f99c1217a ("ksmbd: add procfs interface for runtime monitoring and statistics") Signed-off-by: Ze Tan <tanze@kylinos.cn> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions