Skip to content

Conversation

jrajahalme
Copy link
Member

Mark policymap entries not valid explicitly when policy map entry is not valid so that map sync will update the entry, instead just ignoring the key, as in that case the key would remain in the map if it would have needed to be removed instead.

Fixes: #35534

Mark policymap entries not valid explicitly when policy map entry is not
valid so that map sync will update the entry, instead just ignoring the
key, as in that case the key would remain in the map if it would have
needed to be removed instead.

Fixes: cilium#35534

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme added kind/bug This is a bug in the Cilium logic. sig/policy Impacts whether traffic is allowed or denied based on user-defined policies. release-note/misc This PR makes changes that have no direct user impact. release-blocker/1.17 This issue will prevent the release of the next version of Cilium. labels Nov 7, 2024
@jrajahalme jrajahalme requested review from a team as code owners November 7, 2024 10:32
@jrajahalme
Copy link
Member Author

/test

@nathanjsweet nathanjsweet added this pull request to the merge queue Nov 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 11, 2024
@jrajahalme jrajahalme added this pull request to the merge queue Nov 12, 2024
Merged via the queue into cilium:main with commit 7bdd7f5 Nov 12, 2024
78 checks passed
@jrajahalme jrajahalme deleted the fix-bpf-policy-map-dump branch November 12, 2024 09:37
@sayboras sayboras changed the title endooint: Fix syncing of invalid policymap entries on upgrade endpoint: Fix syncing of invalid policymap entries on upgrade Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is a bug in the Cilium logic. release-blocker/1.17 This issue will prevent the release of the next version of Cilium. release-note/misc This PR makes changes that have no direct user impact. sig/policy Impacts whether traffic is allowed or denied based on user-defined policies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants