[NET]: Make mangling a checksum (0 -> 0xffff on the wire) explicit.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Al Viro
2006-11-16 02:36:50 -08:00
committed by David S. Miller
parent b51655b958
commit f6ab028804
7 changed files with 11 additions and 10 deletions
+1
View File
@@ -92,4 +92,5 @@ static inline __wsum csum_unfold(__sum16 n)
return (__force __wsum)n;
}
#define CSUM_MANGLED_0 ((__force __sum16)0xffff)
#endif