Skip to content

[1.17] ipmasq: fix race causing potential concurrent map read/write. - #619

Merged
antonipp merged 1 commit into
v1.17-ddfrom
ai/backport-40856
Aug 12, 2025
Merged

[1.17] ipmasq: fix race causing potential concurrent map read/write.#619
antonipp merged 1 commit into
v1.17-ddfrom
ai/backport-40856

Conversation

@antonipp

Copy link
Copy Markdown
Collaborator

Follow-up to #616

Backport upstream PR 40856 to our fork

IPMasq now runs a background goroutine that performs Update
operations.

This is unsafe, as it is accessing ipmasq agent internals
without a mutex. This can cause crashes, such as the one
seen in 40855.

Fixes: cilium#40855

Signed-off-by: Tom Hadlaw <tom.hadlaw@isovalent.com>
@antonipp
antonipp merged commit 7d7c478 into v1.17-dd Aug 12, 2025
6 of 8 checks passed
@antonipp
antonipp deleted the ai/backport-40856 branch August 12, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants