datapath: Fix version check for 3.2.
authorJesse Gross <jesse@nicira.com>
Sat, 14 Jan 2012 01:09:21 +0000 (17:09 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 24 Jan 2012 17:03:08 +0000 (09:03 -0800)
We support Linux 3.2 and all of its patch levels but the current
check only allows for 3.2.0.

Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c

index 0e81a7a..c8d48e6 100644 (file)
@@ -59,7 +59,7 @@
 #include "vport-internal_dev.h"
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) || \
-    LINUX_VERSION_CODE > KERNEL_VERSION(3,2,0)
+    LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0)
 #error Kernels before 2.6.18 or after 3.2 are not supported by this version of Open vSwitch.
 #endif