Skip to content

[v1.16] policy/correlation: Fix PolicyMatch{L3Proto,L4Only} case #35681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

gandro
Copy link
Member

@gandro gandro commented Oct 31, 2024

This commit fixes a bug in the policy correlation code where policies that only match a L3 identity and a L4 protocol (without a port) were previously not correlated. This is the v1.16 version of this main PR: #35680

This commit was manually tested for all cases.

Fixes: #35416

This commit fixes a bug in the policy correlation code where policies
that only match a L3 identity and a L4 protocol (without a port) were
previously not correlated.

This commit was manually tested for all cases.

Fixes: cilium#35416

Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
@gandro gandro requested a review from a team as a code owner October 31, 2024 15:26
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.16 This PR represents a backport for Cilium 1.16.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. labels Oct 31, 2024
@joestringer joestringer enabled auto-merge October 31, 2024 15:27
@gandro
Copy link
Member Author

gandro commented Oct 31, 2024

/test-backport-1.16

@gandro
Copy link
Member Author

gandro commented Nov 4, 2024

The ci-e2e-upgrade failure is persistent, however looks unrelated to the PR (which doesn't affect datapath at all) and seems to be #35594

@gandro gandro disabled auto-merge November 4, 2024 15:54
@gandro
Copy link
Member Author

gandro commented Nov 4, 2024

Force-merging since the CI failure is unrelated (I also double checked the sysdump).

@gandro gandro merged commit f8ff5e1 into cilium:v1.16 Nov 4, 2024
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.16 This PR represents a backport for Cilium 1.16.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants