datapath: Move CSUM_MANGLED_0 definition to net checksum header.
[openvswitch] / datapath / linux / compat / include / net / checksum.h
index ee64f24d570e27a59cdf6bdc39375d54972992a6..502d02d8797f5244a8431dd0783bf4fe844b1f88 100644 (file)
@@ -38,4 +38,8 @@ static inline void csum_replace2(__sum16 *sum, __be16 from, __be16 to)
                                           (__force __be32)(to), pseudohdr)
 #endif
 
+#ifndef CSUM_MANGLED_0
+#define CSUM_MANGLED_0 ((__force __sum16)0xffff)
+#endif
+
 #endif /* checksum.h */