aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-16 05:36:50 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:23:39 -0500
commitf6ab028804bdc580fe0915494dbf31f5ea473ca7 (patch)
tree4bf0fedcfaab7103682bc6209f196104fa9df8fb /include
parentb51655b958dfb1176bfcf99466231fdbef8751ff (diff)
[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>
Diffstat (limited to 'include')
-rw-r--r--include/net/checksum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/checksum.h b/include/net/checksum.h
index 2b3c8dc6c11d..124246172a88 100644
--- a/include/net/checksum.h
+++ b/include/net/checksum.h
@@ -92,4 +92,5 @@ static inline __wsum csum_unfold(__sum16 n)
92 return (__force __wsum)n; 92 return (__force __wsum)n;
93} 93}
94 94
95#define CSUM_MANGLED_0 ((__force __sum16)0xffff)
95#endif 96#endif