You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protect access to mcast->group_num and mcast->group_list with group_mutex
to prevent data race conditions. These fields are written with the mutex
held elsewhere, so reads must also be protected.
- Acquire group_mutex before reading group_num
- Keep mutex held during TAILQ_FOREACH iteration of group_list
- Add proper unlock on all early return paths (no groups, alloc failure)
0 commit comments