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
daemon, maps/ipcache: Replace usage of net.IP*
for ingress IPs
#26045
daemon, maps/ipcache: Replace usage of net.IP*
for ingress IPs
#26045
Conversation
net.IP*
f4922cb
to
6ad1cac
Compare
net.IP*
net.IP*
for ingress IPs
/test Job 'Cilium-PR-K8s-1.26-kernel-net-next' hit: #25958 (92.39% similarity) |
cc @tklauser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes LGTM, thanks for fixing this!
I'd suggest to reverse the commit order. Otherwise bisectability is broken on the first commit Revert "ip: Add IPNetToPrefix() helper"
because ip.IPNetToPrefix
is still used and only replaced in the second commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks!
6ad1cac
to
540dd49
Compare
/test Edit:
|
/test-1.26-net-next |
540dd49
to
9ebb3cc
Compare
/test |
Following the previously reverted commit, replace the ingress IP restoration to use netip types. Towards cilium#24246. Reported-by: Tobias Klauser <tobias@cilium.io> Signed-off-by: Chris Tarazi <chris@isovalent.com>
This reverts commit f8094af. Signed-off-by: Chris Tarazi <chris@isovalent.com>
9ebb3cc
to
92e27a6
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed tophat-owned files 🧹
We still have a lot of EDIT: Ah it looks like there's a |
Yep, see #25749 (comment) which I think triggered this PR. |
net.IP*
for ingress IPs