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

vxlan: Fix parseVxlanData for source port range #1062

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

borkmann
Copy link
Contributor

binary.Read() != nil check means error case, so the vxlan.Port{Low,High} are never populated. Fix the check.

binary.Read() != nil check means error case, so the vxlan.Port{Low,High}
are never populated. Fix the check.

Signed-off-by: Daniel Borkmann <[email protected]>
@borkmann
Copy link
Contributor Author

Cc @aboch

@aboch
Copy link
Collaborator

aboch commented Feb 21, 2025

LGTM

@aboch aboch merged commit 0af3215 into vishvananda:main Feb 21, 2025
2 checks passed
borkmann added a commit to cilium/cilium that referenced this pull request Feb 21, 2025
Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
borkmann added a commit to cilium/cilium that referenced this pull request Feb 22, 2025
Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
itspooya pushed a commit to itspooya/cilium that referenced this pull request Feb 25, 2025
Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
nbusseneau pushed a commit to cilium/cilium that referenced this pull request Feb 27, 2025
[ upstream commit 6ad6993 ]

Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
Signed-off-by: Nicolas Busseneau <[email protected]>
nbusseneau pushed a commit to cilium/cilium that referenced this pull request Feb 27, 2025
[ upstream commit 6ad6993 ]

Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
Signed-off-by: Nicolas Busseneau <[email protected]>
nbusseneau pushed a commit to cilium/cilium that referenced this pull request Feb 27, 2025
[ upstream commit 6ad6993 ]

Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
Signed-off-by: Nicolas Busseneau <[email protected]>
joamaki pushed a commit to cilium/cilium that referenced this pull request Mar 5, 2025
[ upstream commit 6ad6993 ]

Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
Signed-off-by: Nicolas Busseneau <[email protected]>
github-merge-queue bot pushed a commit to cilium/cilium that referenced this pull request Mar 6, 2025
[ upstream commit 6ad6993 ]

Import vxlan source port range fix.

Signed-off-by: Daniel Borkmann <[email protected]>
Link: vishvananda/netlink#1062
Signed-off-by: Nicolas Busseneau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants