kernel-hacking-2024-linux-s.../arch/metag
James Hogan d903bca9bc 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 <Marcin.Nowakowski@pure.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
2013-07-09 11:09:17 +01:00
..
boot metag: avoid unnecessary builtin dtb rebuilds 2013-04-22 11:23:20 +01:00
configs metag: defconfigs: increase log buffer 8KiB => 128KiB 2013-04-25 13:09:27 +01:00
include metag: checksum.h: fix carry in csum_tcpudp_nofold 2013-07-09 11:09:17 +01:00
kernel dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
lib
mm Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2013-05-02 10:16:16 -07:00
oprofile metag: OProfile support 2013-03-15 13:21:05 +00:00
tbx
Kconfig Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
Kconfig.debug
Kconfig.soc
Makefile metag: OProfile support 2013-03-15 13:21:05 +00:00