diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-12-05 21:38:47 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-12-10 17:48:06 -0600 |
commit | b95629435b84b9ecc0c765995204a4d8a913ed52 (patch) | |
tree | aa358c099928cca7c4f7c31da3bc92ad9b6a615c /tools/perf/scripts/python/syscall-counts.py | |
parent | 2b904d61a97e8ba79e3bc216ba290fd7e1d85028 (diff) | |
download | linux-b95629435b84b9ecc0c765995204a4d8a913ed52.tar.gz linux-b95629435b84b9ecc0c765995204a4d8a913ed52.tar.bz2 linux-b95629435b84b9ecc0c765995204a4d8a913ed52.zip |
ksmbd: fix racy issue from session lookup and expire
Increment the session reference count within the lock for lookup to avoid
racy issue with session expire.
Cc: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-25737
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions