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

lib: fix the use of ipv4 packet id #554

Merged
merged 2 commits into from
Oct 27, 2023
Merged

Conversation

ricmli
Copy link
Collaborator

@ricmli ricmli commented Oct 27, 2023

The packet id is set to 0 when IP_DF flag set,
which is identical to the kernel behavior.

The packet id is set to 0 when IP_DF flag set,
this is identical to the kernel behavior

Signed-off-by: Ric Li <[email protected]>
@ricmli ricmli self-assigned this Oct 27, 2023
@ricmli
Copy link
Collaborator Author

ricmli commented Oct 27, 2023

Check the kernel source code here: https://elixir.bootlin.com/linux/v5.19.17/source/include/net/ip.h#L537

Signed-off-by: Ric Li <[email protected]>
@ricmli ricmli marked this pull request as ready for review October 27, 2023 09:33
@ricmli ricmli requested a review from frankdjx as a code owner October 27, 2023 09:33
@ricmli ricmli merged commit f4f41ea into OpenVisualCloud:main Oct 27, 2023
@ricmli ricmli deleted the packet_id branch October 27, 2023 14:15
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