OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH 9/12] L2 network namespace: device to pass packets between namespaces
Re: [PATCH 9/12] L2 network namespace: device to pass packets between namespaces [message #16991] Tue, 12 December 2006 10:58
Daniel Lezcano is currently offline  Daniel Lezcano
Messages: 417
Registered: June 2006
Senior Member
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@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Previous Topic: [PATCH 9/12] L2 network namespace: device to pass packets between namespaces
Next Topic: [PATCH] sysctl_{,ms_}jiffies: fix oldlen semantics
Goto Forum:
  


Current Time: Sun Jul 27 04:28:02 GMT 2025

Total time taken to generate the page: 0.31361 seconds