datapath: Fix feature check for HAVE_RXHASH.
[sliver-openvswitch.git] / datapath / linux / compat / include / linux / skbuff.h
index a9dc2e7..b011396 100644 (file)
@@ -286,10 +286,10 @@ 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
-#if HAVE_L4_RXHASH
+#ifdef HAVE_L4_RXHASH
        skb->l4_rxhash = 0;
 #endif
 }