From: James Hogan Date: Mon, 8 Jul 2013 11:21:47 +0000 (+0100) Subject: metag: checksum.h: fix carry in csum_tcpudp_nofold X-Git-Tag: v3.11-rc1~59^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d903bca9bc542bd6d60019f9f761be15ad79c956;p=pandora-kernel.git metag: checksum.h: fix carry in csum_tcpudp_nofold In csum_tcpudp_nofold, add 1 if the carry bit is set after adding the destination IP address (32 bits) to the checksum (16 bits). The lack of carry handling for this particular addition meant that a destination address of *.*.255.255 (e.g. certain broadcasts) sometimes resulted in an incorrect checksum. This bug has been present in the Meta port since the code was written in the 2.4 days. Reported-by: Marcin Nowakowski Signed-off-by: James Hogan --- Reading git-diff-tree failed