From: Stephen Hemminger <stephen@networkplumber.org>
To: netdev@vger.kernel.org
Subject: Fw: [Bug 215674] New: ip_compute_csum computes illegal zero checksum, should return ffff in such a case
Date: Fri, 11 Mar 2022 09:12:23 -0800 [thread overview]
Message-ID: <20220311091223.477970e6@hermes.local> (raw)
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.
reply other threads:[~2022-03-11 17:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220311091223.477970e6@hermes.local \
--to=stephen@networkplumber.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox