From: Jesse Gross Date: Sat, 14 Jan 2012 01:09:21 +0000 (-0800) Subject: datapath: Fix version check for 3.2. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444cacf4a7017a2b78418b7d12cd2f0a1e0dbb85;p=openvswitch 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 995efefe..e9a4e189 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