datapath: Update supported kernel check.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 21 Oct 2011 21:17:38 +0000 (14:17 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 21 Oct 2011 21:17:38 +0000 (14:17 -0700)
Signed-off-by: Pravin Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c

index cd29482..4982150 100644 (file)
@@ -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);