From c93cabc07d433233872e5e60ee03a086101bf4a7 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 26 Jan 2009 12:45:56 -0800 Subject: [PATCH] Move veth.c to Linux 2.6 compatibility directory. The veth driver is only available on more recent kernels. veth.c contains a port to 2.6.18. Since this is only needed for 2.6.18, the source is being moved to the compatibility directory. --- datapath/linux-2.6/Modules.mk | 4 ++-- datapath/{ => linux-2.6/compat-2.6}/veth.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) rename datapath/{ => linux-2.6/compat-2.6}/veth.c (99%) diff --git a/datapath/linux-2.6/Modules.mk b/datapath/linux-2.6/Modules.mk index 4582bb84..274eb44d 100644 --- a/datapath/linux-2.6/Modules.mk +++ b/datapath/linux-2.6/Modules.mk @@ -37,5 +37,5 @@ brcompat_headers = \ dist_modules += veth build_modules += $(if $(BUILD_VETH),veth) -veth_sources = veth.c -veth_headers = veth.h +veth_sources = linux-2.6/compat-2.6/veth.c +veth_headers = diff --git a/datapath/veth.c b/datapath/linux-2.6/compat-2.6/veth.c similarity index 99% rename from datapath/veth.c rename to datapath/linux-2.6/compat-2.6/veth.c index 5ee8a77c..3cda3365 100644 --- a/datapath/veth.c +++ b/datapath/linux-2.6/compat-2.6/veth.c @@ -1,3 +1,5 @@ +/* veth driver port to Linux 2.6.18 */ + /* * drivers/net/veth.c * -- 2.30.2