git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: remove actions.h
[sliver-openvswitch.git]
/
datapath
/
compat.h
diff --git
a/datapath/compat.h
b/datapath/compat.h
index
c484a5d
..
4e05753
100644
(file)
--- a/
datapath/compat.h
+++ b/
datapath/compat.h
@@
-36,4
+36,11
@@
static inline int CHECK_NUL_STRING(struct nlattr *attr, int maxlen)
}
#endif /* !HAVE_NLA_NUL_STRING */
+static inline void skb_clear_rxhash(struct sk_buff *skb)
+{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)
+ skb->rxhash = 0;
+#endif
+}
+
#endif /* compat.h */