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

Daniel Lezcano dlezcano at fr.ibm.com
Tue Dec 12 02:58:38 PST 2006


Dmitry Mishin wrote:
> 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.

ok.
Should it not be EXPORT_SYMBOL -> EXPORT_SYMBOL_GPL ?
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list