patch-2.1.9 linux/include/net/checksum.h
Next file: linux/include/net/ipv6_route.h
Previous file: linux/include/net/ax25.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Nov 12 15:20:20 1996
- Orig file:
v2.1.8/linux/include/net/checksum.h
- Orig date:
Sun Nov 10 20:12:15 1996
diff -u --recursive --new-file v2.1.8/linux/include/net/checksum.h linux/include/net/checksum.h
@@ -81,8 +81,8 @@
csum += carry;
uproto = htonl(proto);
- csum += proto;
- carry = (csum < proto);
+ csum += uproto;
+ carry = (csum < uproto);
csum += carry;
return csum_fold(csum);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov