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

bpf: clean up some revalidate_data() users #25337

Merged
merged 3 commits into from Jun 10, 2023

Conversation

julianwiedmann
Copy link
Member

Some completely innocent cleanups to our revalidate_data() usage.

@julianwiedmann julianwiedmann added sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. release-note/misc This PR makes changes that have no direct user impact. labels May 9, 2023
@julianwiedmann
Copy link
Member Author

/test

@julianwiedmann
Copy link
Member Author

/test

@julianwiedmann
Copy link
Member Author

/test

@julianwiedmann
Copy link
Member Author

/ci-verifier

@maintainer-s-little-helper
Copy link

Commit 0664e3f4010b275282fa1ef16b45d7c7f59b20fd does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 15, 2023
@julianwiedmann
Copy link
Member Author

/ci-verifier

@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 16, 2023
@julianwiedmann
Copy link
Member Author

/ci-verifier

@julianwiedmann
Copy link
Member Author

/ci-verifier

@julianwiedmann
Copy link
Member Author

/ci-l4lb

@julianwiedmann julianwiedmann force-pushed the 1.14-revalidate-data branch 2 times, most recently from d897c5f to eb33923 Compare June 7, 2023 13:18
Don't bother validating an IPv4 header when the packet is actually IPv6.

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
Nothing uses the L3 header after this revalidation.

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
When called in from-overlay or from-netdev, we already validated the
IPv6 header and can skip the validation inside nodeport_lb6().

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
@julianwiedmann
Copy link
Member Author

/test

@julianwiedmann
Copy link
Member Author

@julianwiedmann
Copy link
Member Author

/test-1.24-5.4

@julianwiedmann julianwiedmann added the kind/cleanup This includes no functional changes. label Jun 9, 2023
@julianwiedmann julianwiedmann marked this pull request as ready for review June 9, 2023 14:41
@julianwiedmann julianwiedmann requested a review from a team as a code owner June 9, 2023 14:41
@julianwiedmann julianwiedmann requested a review from aspsk June 9, 2023 14:41
Copy link
Contributor

@aspsk aspsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments. Comments are minor, so not requesting changes

bpf/bpf_lxc.c Show resolved Hide resolved
bpf/lib/proxy_hairpin.h Show resolved Hide resolved
@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 Jun 9, 2023
@julianwiedmann
Copy link
Member Author

GH ginkgo fails are #25964

@julianwiedmann julianwiedmann merged commit 7ec43fe into cilium:main Jun 10, 2023
63 of 64 checks passed
@julianwiedmann julianwiedmann deleted the 1.14-revalidate-data branch June 10, 2023 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants