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
..
2006-09-28 18:02:48 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:32:25 -07:00
2006-09-22 14:54:40 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:02:58 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:01:06 -07:00
2005-04-16 15:20:36 -07:00
2006-10-18 19:55:25 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:03:04 -07:00
2006-09-28 18:02:09 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 18:02:30 -07:00
2006-11-05 14:11:25 -08:00
2006-03-23 07:12:57 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-14 21:58:18 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2006-03-20 22:59:36 -08:00
2006-10-15 11:00:58 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2006-09-28 18:02:10 -07:00
2006-10-22 20:38:00 -07:00
2006-06-30 14:12:10 -07:00