aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2014-11-19 07:47:04 -0800
committerPravin B Shelar <pshelar@nicira.com>2014-11-19 15:53:38 -0800
commit859df5b1bf4e3a8135a2199187d3eb30174a3608 (patch)
treee1edf63c325601406d7bcc8e1362aa0e66db4d71
parent526a7c85d11dc049ec8f255b948328bf9ba58529 (diff)
datapath: compat: Fix build on RHEL 6.6
Reported-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
-rw-r--r--datapath/linux/compat/include/linux/skbuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/linux/compat/include/linux/skbuff.h b/datapath/linux/compat/include/linux/skbuff.h
index a01621343..23e69c0d4 100644
--- a/datapath/linux/compat/include/linux/skbuff.h
+++ b/datapath/linux/compat/include/linux/skbuff.h
@@ -298,7 +298,7 @@ static inline void skb_clear_hash(struct sk_buff *skb)
#ifdef HAVE_RXHASH
skb->rxhash = 0;
#endif
-#ifdef HAVE_L4_RXHASH
+#if defined(HAVE_L4_RXHASH) && !defined(HAVE_RHEL_OVS_HOOK)
skb->l4_rxhash = 0;
#endif
}