From 478a8f37e3b6cf2a164a5027926b1393e9557dc4 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Fri, 2 May 2014 10:33:45 -0700 Subject: [PATCH] datapath: Fix feature check for HAVE_RXHASH. The check for HAVE_RXHASH use #if rather than #ifdef, which provokes a warning when it isn't defined. Signed-off-by: Jesse Gross --- datapath/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath/compat.h b/datapath/compat.h index 5b0cc1306..c2f9d437b 100644 --- a/datapath/compat.h +++ b/datapath/compat.h @@ -30,7 +30,7 @@ static inline void skb_clear_rxhash(struct sk_buff *skb) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35) skb->rxhash = 0; #endif -#if HAVE_L4_RXHASH +#ifdef HAVE_L4_RXHASH skb->l4_rxhash = 0; #endif } -- 2.20.1