patch-2.3.42 linux/include/asm-arm/checksum.h
Next file: linux/include/asm-i386/checksum.h
Previous file: linux/include/asm-alpha/checksum.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Mon Jan 31 23:41:14 2000
-  Orig file: 
v2.3.41/linux/include/asm-arm/checksum.h
-  Orig date: 
Fri Jan 21 18:19:17 2000
diff -u --recursive --new-file v2.3.41/linux/include/asm-arm/checksum.h linux/include/asm-arm/checksum.h
@@ -148,10 +148,10 @@
 		__u32 proto, unsigned int sum);
 
 extern __inline__ unsigned short int
-csum_ipv6_magic(struct in6_addr *saddr, struct in6_addr *daddr, __u16 len,
+csum_ipv6_magic(struct in6_addr *saddr, struct in6_addr *daddr, __u32 len,
 		unsigned short proto, unsigned int sum)
 {
-	return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl((__u32)len),
+	return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl(len),
 					   htonl(proto), sum));
 }
 #endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)