[PATCH 9/12] L2 network namespace: device to pass packets between namespaces

Daniel Lezcano dlezcano at fr.ibm.com
Tue Dec 12 02:45:42 PST 2006


> +
> +MODULE_DESCRIPTION("Virtual Ethernet Device");
> +MODULE_LICENSE("GPL v2");
> --- linux-2.6.19-rc6-mm2.orig/net/core/net_namespace.c
> +++ linux-2.6.19-rc6-mm2/net/core/net_namespace.c
> @@ -106,5 +106,6 @@ void free_net_ns(struct kref *kref)
>  	ip_fib_struct_cleanup();
>  	kfree(ns);
>  }
> +EXPORT_SYMBOL(free_net_ns);

Why do you need to export this function ? It should be only used by the 
put_net_ns, no ?



More information about the Containers mailing list