datapath: compat: Fix build on RHEL 6.6
[cascardo/ovs.git] / datapath / linux / compat / include / linux / skbuff.h
index a016213..23e69c0 100644 (file)
@@ -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
 }