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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux