diff options
| author | Yichong Chen <chenyichong@uniontech.com> | 2026-06-28 11:37:25 +0800 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-07-17 09:57:24 -0500 |
| commit | 779972513c2fa8c7938e54976f686091dafff22f (patch) | |
| tree | fabbfbaab45da5d2ae9ef7f246f54764dfde3787 /tools/perf/scripts/python/libxed.py | |
| parent | 219644a3ad5518217b2d62cad6d2c36a2308c949 (diff) | |
ecryptfs: hold msg ctx list lock when cleaning daemon queue
ecryptfs_exorcise_daemon() drops queued messages from a dying daemon
without holding ecryptfs_msg_ctx_lists_mux, but
ecryptfs_msg_ctx_alloc_to_free() requires that lock.
Take the list lock while moving the queued contexts back to the free
list to avoid racing with other global msg ctx list users.
Fixes: f66e883eb618 ("eCryptfs: integrate eCryptfs device handle into the module.")
Cc: <stable@vger.kernel.org>
Signed-off-by: Yichong Chen <chenyichong@uniontech.com>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
