diff options
| author | Yichong Chen <chenyichong@uniontech.com> | 2026-07-01 13:34:06 +0800 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-07-17 09:57:24 -0500 |
| commit | 219644a3ad5518217b2d62cad6d2c36a2308c949 (patch) | |
| tree | cce2441768cc46d3d9aa10d9ae98dbbce3deddad /tools/perf/scripts/python | |
| parent | 5babe9c177c364521e3e682b949c5a8c47f4a441 (diff) | |
ecryptfs: release message context on send failure
ecryptfs_send_message_locked() moves a message context from the free
list to the allocated list before sending the request to the userspace
daemon.
If ecryptfs_send_miscdev() fails, the context is left on the
allocated list and cannot be reused. Move it back to the free list on
failure and clear the caller's pointer.
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')
0 files changed, 0 insertions, 0 deletions
