projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Move CSUM_MANGLED_0 definition to net checksum header.
[openvswitch]
/
datapath
/
linux
/
compat
/
include
/
net
/
checksum.h
diff --git
a/datapath/linux/compat/include/net/checksum.h
b/datapath/linux/compat/include/net/checksum.h
index ee64f24d570e27a59cdf6bdc39375d54972992a6..502d02d8797f5244a8431dd0783bf4fe844b1f88 100644
(file)
--- a/
datapath/linux/compat/include/net/checksum.h
+++ b/
datapath/linux/compat/include/net/checksum.h
@@
-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 */