diff options
| author | 2026-08-14 13:51:43 +0000 | |
|---|---|---|
| committer | 2026-08-17 22:38:26 +0900 | |
| commit | 492b24b5b651a72ee83a8d481f70246b36192832 (patch) | |
| tree | 141b5687ab26789fd4a7ac4ba03edaf89aca273b /scripts/Makefile.thinlto | |
| parent | smb/server: fix session leak in ksmbd_session_register() (diff) | |
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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
