]> git.dujemihanovic.xyz Git - u-boot.git/commit
Get rid of annoying/superfluous bad-checksum warning message
authorRemy Bohmer <linux@bohmer.net>
Tue, 3 Jun 2008 13:48:17 +0000 (15:48 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Thu, 5 Jun 2008 06:51:26 +0000 (23:51 -0700)
commit6b52cfe16cd539935e32bd8cf19146522e462a4d
treec32c7381b606745a9c6250a2457341055c041883
parentd6ee5fa40c26970d39990c6fc4a2f20a97822650
Get rid of annoying/superfluous bad-checksum warning message

U-boot can complain a lot about 'checksum bad' when it is attached to the network.
It is annoying for ordinary users who start to doubt the network connection
in general when they see messages like this.

This is caused by the routine NetCksumOk() which cannot handle IP-headers longer
than 20 bytes. Those packages can be ignored anyway by U-boot, so we trash them
now before checking the checksum.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/net.c