[dpdk-users] checksums?

William Herrin bill at herrin.us
Fri Apr 5 22:52:35 CEST 2019


On Fri, Apr 5, 2019 at 2:31 AM N. Benes <nbenes at eso.org> wrote:
> William Herrin:
> > Which I understand to mean that +0 (0x0000) is a legal value in an IPv4
> > checksum field, but -0 (0xffff) is not.
> >
> > Is this a bug?
>
> Related threads:
>
> https://mails.dpdk.org/archives/users/2019-March/004021.html
> https://mails.dpdk.org/archives/dev/2019-April/128473.html

Ah, my google-fu failed me. Thanks for the refs!

So it is a bug and Olivier Matz is writing a patch. Few receivers stumble
when presented with -0 as a checksum so it shouldn't be causing much of a
problem but I did stumble across this long-ago conversation:

https://mailarchive.ietf.org/arch/msg/ietf/2EZyjq9tiQvyfyAXgPMKQ7MtToU
https://mailarchive.ietf.org/arch/msg/ietf/36lReuBvahPjxVTth1wpm7kt7zs

Regards,
Bill Herrin


--
William Herrin ................ herrin at dirtside.com  bill at herrin.us
Dirtside Systems ......... Web: <http://www.dirtside.com/>


More information about the users mailing list