From: Jarno Rajahalme Date: Fri, 28 Jun 2013 09:22:33 +0000 (+0300) Subject: datapath: Fix version check in compat gre.h X-Git-Tag: sliver-openvswitch-1.10.90-3~4^2~2 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=acb077563b34a528b634fbcf4931771d97538d3e 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 --- 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