diff options
author | Simon Horman <horms@verge.net.au> | 2011-06-29 16:24:44 +0900 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2011-06-29 12:04:33 -0700 |
commit | 3d4793d6be1c4754a6cf80f92b3e4ee8d0a8433b (patch) | |
tree | 2f62f626ccd4b7fe78fda22a3de7a0cb48099b8d | |
parent | c97e2fadaa9fe1854f2f5243e811e022d7e85b8d (diff) |
datapath: Support Linux 3.0
This trivially supports linux 3.0 by incrementing the version check.
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jesse Gross <jesse@nicira.com>
-rw-r--r-- | datapath/datapath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datapath/datapath.c b/datapath/datapath.c index 7eadd2f5..d1493445 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -54,8 +54,8 @@ #include "vport-internal_dev.h" #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) || \ - LINUX_VERSION_CODE > KERNEL_VERSION(2,6,39) -#error Kernels before 2.6.18 or after 2.6.39 are not supported by this version of Open vSwitch. + 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. #endif int (*dp_ioctl_hook)(struct net_device *dev, struct ifreq *rq, int cmd); |