projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac6bd6
)
datapath: Fix feature check for HAVE_RXHASH.
author
Jesse Gross
<jesse@nicira.com>
Fri, 2 May 2014 17:33:45 +0000
(10:33 -0700)
committer
Jesse Gross
<jesse@nicira.com>
Fri, 2 May 2014 17:37:50 +0000
(10:37 -0700)
The check for HAVE_RXHASH use #if rather than #ifdef, which
provokes a warning when it isn't defined.
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/compat.h
patch
|
blob
|
history
diff --git
a/datapath/compat.h
b/datapath/compat.h
index
5b0cc13
..
c2f9d43
100644
(file)
--- a/
datapath/compat.h
+++ b/
datapath/compat.h
@@
-30,7
+30,7
@@
static inline void skb_clear_rxhash(struct sk_buff *skb)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)
skb->rxhash = 0;
#endif
-#if HAVE_L4_RXHASH
+#if
def
HAVE_L4_RXHASH
skb->l4_rxhash = 0;
#endif
}