From: Jesse Gross <jesse@nicira.com> Date: Sat, 14 Jan 2012 01:09:21 +0000 (-0800) Subject: datapath: Fix version check for 3.2. X-Git-Tag: v1.4.0~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=408e1144059b0513f8f9b506a30b0d2233c33bbd;p=sliver-openvswitch.git 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 <jpettit@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com> --- diff --git a/datapath/datapath.c b/datapath/datapath.c index 0e81a7a8a..c8d48e6d2 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -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