Skip to content

Conversation

pippolo84
Copy link
Member

In case IPv4NativeRoutingCIDR is left unspecified, the related config option will be nil. To avoid panicking, check for this case before converting the CIDR to a string. Moreover, do not try to run the iptables command to install the NOTRACK rules if the resulting string is empty.

Related: #32607

In case IPv4NativeRoutingCIDR is left unspecified, the related config
option will be nil. To avoid panicking, check for this case before
converting the CIDR to a string. Moreover, do not try to run the
iptables command to install the NOTRACK rules if the resulting string is
empty.

Related: cilium#32607

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84 pippolo84 added release-note/bug This PR fixes an issue in a previous release of Cilium. area/iptables Impacts how Cilium interacts with iptables. labels May 21, 2024
@pippolo84 pippolo84 requested a review from a team as a code owner May 21, 2024 16:05
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. labels May 21, 2024
@lmb
Copy link
Contributor

lmb commented May 22, 2024

/test-backport-1.14

1 similar comment
@lmb
Copy link
Contributor

lmb commented May 23, 2024

/test-backport-1.14

@lmb
Copy link
Contributor

lmb commented May 24, 2024

/test-backport-1.14

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 25, 2024
@julianwiedmann julianwiedmann merged commit b22d64b into cilium:v1.14 May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/iptables Impacts how Cilium interacts with iptables. backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
No open projects
Status: Released
Development

Successfully merging this pull request may close these issues.

3 participants