WSL2-Linux-Kernel/net/ipx
Al Viro 02e60370d4 [IPX]: Annotate and fix IPX checksum
Calculation of IPX checksum got buggered about 2.4.0.  The old variant
mangled the packet; that got fixed, but calculation itself got buggered.
Restored the correct logics, fixed a subtle breakage we used to have even
back then: if the sum is 0 mod 0xffff, we want to return 0, not 0xffff.
The latter has special meaning for IPX (cheksum disabled).  Observation
(and obvious fix) nicked from history of FreeBSD ipx_cksum.c...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-11-05 14:11:25 -08:00
..
ChangeLog Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
af_ipx.c [IPX]: Annotate and fix IPX checksum 2006-11-05 14:11:25 -08:00
ipx_proc.c [IPX]: Trivial parts of endianness annotations 2006-11-05 14:11:24 -08:00
ipx_route.c [IPX]: Annotate and fix IPX checksum 2006-11-05 14:11:25 -08:00
sysctl_net_ipx.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00