public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Fw: [Bug 215674] New: ip_compute_csum computes illegal zero checksum, should return ffff in such a case
@ 2022-03-11 17:12 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2022-03-11 17:12 UTC (permalink / raw)
  To: netdev

There are not of uses of ip_compute_csum.

Begin forwarded message:

Date: Fri, 11 Mar 2022 11:47:49 +0000
From: bugzilla-daemon@kernel.org
To: stephen@networkplumber.org
Subject: [Bug 215674] New: ip_compute_csum computes illegal zero checksum, should return ffff in such a case


https://bugzilla.kernel.org/show_bug.cgi?id=215674

            Bug ID: 215674
           Summary: ip_compute_csum computes illegal zero checksum, should
                    return ffff in such a case
           Product: Networking
           Version: 2.5
    Kernel Version: 4.14.268
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: stephen@networkplumber.org
          Reporter: eyal.lotem@gmail.com
        Regression: No

A 0 checksum indicates the checksum is to not be validated, and an 0xffff
checksum indicates a zero result.

If the sum is computed to be 0, it should be substituted for 0xffff, to
indicate the actual zero checksum.

This bug went unnoticed for a long time, because in 2^-16 of computed
checksums, the incorrect result merely foregoes checksum validation, which is
likely to not trigger any noticeable errors.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-11 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-11 17:12 Fw: [Bug 215674] New: ip_compute_csum computes illegal zero checksum, should return ffff in such a case Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox