From a0003c0c359bc3ffe8a6683dbd0121877a3ce700 Mon Sep 17 00:00:00 2001 From: Pravin B Shelar Date: Fri, 21 Oct 2011 14:17:38 -0700 Subject: [PATCH] datapath: Update supported kernel check. Signed-off-by: Pravin Shelar Acked-by: Jesse Gross --- datapath/datapath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/datapath.c b/datapath/datapath.c index cd29482c..49821507 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -54,8 +54,8 @@ #include "vport-internal_dev.h" #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) || \ - LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0) -#error Kernels before 2.6.18 or after 3.0 are not supported by this version of Open vSwitch. + LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0) +#error Kernels before 2.6.18 or after 3.1 are not supported by this version of Open vSwitch. #endif int (*dp_ioctl_hook)(struct net_device *dev, struct ifreq *rq, int cmd); -- 2.30.2