datapath: Fix feature check for HAVE_RXHASH.
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / skbuff.h
index b5caa96..b011396 100644 (file)
@@ -286,9 +286,12 @@ int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
 #ifndef HAVE_SKB_CLEAR_HASH
 static inline void skb_clear_hash(struct sk_buff *skb)
 {
-#if HAVE_RXHASH
+#ifdef HAVE_RXHASH
        skb->rxhash = 0;
 #endif
+#ifdef HAVE_L4_RXHASH
+       skb->l4_rxhash = 0;
+#endif
 }
 #endif