Skip to content

lls: fix ICMPv6 checksum#563

Merged
AltraMayor merged 1 commit intov1.1-devfrom
net-test
Jun 7, 2022
Merged

lls: fix ICMPv6 checksum#563
AltraMayor merged 1 commit intov1.1-devfrom
net-test

Conversation

@AltraMayor
Copy link
Owner

DPDK's commit d5df2ae0428a147b80bbb65d623f88f75d28b226 corrected the checksum of TCP by not turning a zero checksum into 0xFFFF as it is done for UDP. That fix also corrects the ICMPv6 checksum used in Gatekeeper, but nd_pkt_valid() was relying on the return being 0xFFFF to test that the checksum was correct.

DPDK's commit d5df2ae0428a147b80bbb65d623f88f75d28b226 corrected
the checksum of TCP by not turning a zero checksum into 0xFFFF
as it is done for UDP.  That fix also corrects the ICMPv6 checksum
used in Gatekeeper, but nd_pkt_valid() was relying on the return
being 0xFFFF to test that the checksum was correct.
@AltraMayor AltraMayor added the bug label Jun 7, 2022
@AltraMayor AltraMayor added this to the Version 1.1 milestone Jun 7, 2022
@AltraMayor AltraMayor merged commit 9268a46 into v1.1-dev Jun 7, 2022
@AltraMayor AltraMayor deleted the net-test branch June 7, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant