Bug 78082

Summary: dhcp-packet.c: UDP checksum calculation on Big Endian systems invalid ?
Product: systemd Reporter: Thomas Ritter <th.ritter>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: PowerPC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.