From acb077563b34a528b634fbcf4931771d97538d3e Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Fri, 28 Jun 2013 12:22:33 +0300 Subject: [PATCH] datapath: Fix version check in compat gre.h Taken the version checks in datapath/linux/compat/gre.c this seems correct. Signed-off-by: Jarno Rajahalme Signed-off-by: Pravin B Shelar --- datapath/linux/compat/include/net/gre.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/linux/compat/include/net/gre.h b/datapath/linux/compat/include/net/gre.h index 139e4ab0d..bd0c3d42c 100644 --- a/datapath/linux/compat/include/net/gre.h +++ b/datapath/linux/compat/include/net/gre.h @@ -4,10 +4,10 @@ #include #include -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37) #include_next -#else /* LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,37) */ +#else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) */ #define GREPROTO_CISCO 0 #define GREPROTO_MAX 2 -- 2.43.0