zephyr/subsys/net
Marcus Shawcroft 0296cdd728 net/dhcpv4: Ensure udp header checksum is computed correctly
The dhcpv4 client code builds ip and udp packets from scratch rather
than using the network stack to do the heavy lifting (why ?).

When it computes the udp checksum of each packet it builds it neglects
to clear any preexisting detritus from the checksum field.  The result
of this is that some packets will be built with correct checksums and
some will be built with incorrect checksums.

This is the underlying reason that the dhcp client often taken many
retransmissions and elapsed time before in order to acquire an IP
address.

Change-Id: Iebd1ed34e06f7f2e53d45f6d1555e22f48490287
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
2017-02-14 08:30:34 +02:00
..
ip net/dhcpv4: Ensure udp header checksum is computed correctly 2017-02-14 08:30:34 +02:00
lib net/mqtt: Fix inline doc for MQTT 2017-02-14 08:30:34 +02:00
buf.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile net: Restructure network protocols 2017-01-02 10:03:19 +01:00
TODO net: todo: Add CAN support entry 2017-02-08 10:12:35 +02:00