datapath: Fix feature check for HAVE_RXHASH.
authorJesse Gross <jesse@nicira.com>
Fri, 2 May 2014 17:33:45 +0000 (10:33 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 2 May 2014 17:33:45 +0000 (10:33 -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/linux/compat/include/linux/skbuff.h
debian/changelog

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
 }
index d6ed63d..3c42113 100644 (file)
@@ -21,7 +21,7 @@ openvswitch (2.2.0-1) unstable; urgency=low
    - Upon the receipt of a SIGHUP signal, ovs-vswitchd no longer reopens its
      log file (it will terminate instead). Please use 'ovs-appctl vlog/reopen'
      instead.
-   - Support for Linux kernels up to 3.13. From Kernel 3.12 onwards OVS uses
+   - Support for Linux kernels up to 3.14. From Kernel 3.12 onwards OVS uses
      tunnel API for GRE and VXLAN.
    - Added DPDK support.
    - Added support for custom vlog patterns in Python