Bug 78082 - dhcp-packet.c: UDP checksum calculation on Big Endian systems invalid ?
Summary: dhcp-packet.c: UDP checksum calculation on Big Endian systems invalid ?
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: PowerPC Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 15:07 UTC by Thomas Ritter
Modified: 2014-06-18 22:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas Ritter 2014-04-29 15:07:09 UTC
It seems the algorithm in dhcp_packet_checksum produced invalid checksums on BE systems (e.g. Powerpc).

I guess from other implementations the "overflow" part of the algorithm is the cause.

Yet this produces invalid UDP packets on Big endian machines.
Comment 1 Lennart Poettering 2014-06-18 22:05:05 UTC
Fixed in git.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.