Skip to content
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

Build Pod SNAT: remove risk of adding nil pointer and later panicking #4150

Merged
merged 1 commit into from Feb 14, 2024

Conversation

martinkennelly
Copy link
Member

We cannot always depend on there being an external IP family that matches the pod IP family.
For example, if we are converting from dualstack to single stack. In that scenario, a panic may occur because we depend on non-nil entries within the nat slices.

- What this PR does and why is it needed

- Special notes for reviewers

- How to verify it

- Description for the changelog

We cannot always depend on there being an external IP family
that matches the pod IP family.
For example, if we are converting from dualstack to single stack.
In that scenario, a panic may occur because we depend on non-nil entries
within the nat slices.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
@coveralls
Copy link

Coverage Status

coverage: 51.955% (-0.05%) from 52.004%
when pulling 5ef9936 on martinkennelly:fix-nat-panic
into 1aa87b4 on ovn-org:master.

@jcaamano jcaamano merged commit 3203551 into ovn-org:master Feb 14, 2024
30 checks passed
@tssurya tssurya added this to the v1.0.0 milestone Mar 12, 2024
@tssurya tssurya added the kind/bug All issues that are bugs and PRs opened to fix bugs label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug All issues that are bugs and PRs opened to fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants