From: Jesse Gross Date: Sat, 14 Jan 2012 01:09:21 +0000 (-0800) Subject: datapath: Fix version check for 3.2. X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=27a1654b5d0db2f995fdfd155b835e4a14473d73 datapath: Fix version check for 3.2. 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 Signed-off-by: Jesse Gross --- diff --git a/datapath/datapath.c b/datapath/datapath.c index 995efefeb..e9a4e1894 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -60,7 +60,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