diff options
author | 2025-08-04 21:40:03 +0800 | |
---|---|---|
committer | 2025-08-05 11:25:48 -0500 | |
commit | f3ba7c9b0421e3935998334a860bd88f2ffdb18e (patch) | |
tree | 1e113a63768c7a6ecf0e5f33b01dfdbadc0a2577 /rust/pin-init/internal/src | |
parent | smb: client: fix creating symlinks under POSIX mounts (diff) | |
download | wireguard-linux-f3ba7c9b0421e3935998334a860bd88f2ffdb18e.tar.xz wireguard-linux-f3ba7c9b0421e3935998334a860bd88f2ffdb18e.zip |
smb: client: rename server mid_lock to mid_queue_lock
This is step 1/4 of a patch series to fix mid_q_entry memory leaks
caused by race conditions in callback execution.
The current mid_lock name is somewhat ambiguous about what it protects.
To prepare for splitting this lock into separate, more granular locks,
this patch renames mid_lock to mid_queue_lock to clearly indicate its
specific responsibility for protecting the pending_mid_q list and
related queue operations.
No functional changes are made in this patch - it only prepares the
codebase for the lock splitting that follows.
- mid_queue_lock for queue operations
- mid_counter_lock for mid counter operations
- per-mid locks for individual mid state management
Signed-off-by: Wang Zhaolong <wangzhaolong@huaweicloud.com>
Acked-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions