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

ndp: fix icmp6 option parsing #116

Merged
merged 1 commit into from
Dec 23, 2024
Merged

ndp: fix icmp6 option parsing #116

merged 1 commit into from
Dec 23, 2024

Conversation

david-marchand
Copy link
Member

Expecting that packet data is contiguous is wrong. Plus the current code is not safe against (forged?) truncated packets at the NDP protocol level.

Rework existing helper and avoid pointer arithmetics.

Fixes: fb72a4d ("ip6: implement dynamic node address discovery")

Expecting that packet data is contiguous is wrong.
Plus the current code is not safe against (forged?) truncated packets at
the NDP protocol level.

Rework existing helper and avoid pointer arithmetics.

Fixes: fb72a4d ("ip6: implement dynamic node address discovery")
Signed-off-by: David Marchand <[email protected]>
@rjarry rjarry merged commit 6a43d4c into DPDK:main Dec 23, 2024
6 checks passed
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