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

Dmitry Mishin dim at openvz.org
Tue Dec 12 02:48:49 PST 2006


On Tuesday 12 December 2006 13:45, Daniel Lezcano wrote:
> > +
> > +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 ?
Yes, and put_net_ns is used in veth module.

-- 
Thanks,
Dmitry.



More information about the Containers mailing list