[PATCH] [RFC] C/R: inet4 and inet6 unicast routes (v2)
danms at us.ibm.com
Fri Apr 30 11:25:56 PDT 2010
SH> So I'm afraid you're going to have to do a slightly uglier thing
SH> where you unshare_nsproxy_namespaces() and then
SH> switch_task_namespaces() to the new nsproxy.
Well, I think that would be hidden in the nicer helper function I
think I'll need, which I eluded to in the patch header. This is just
an RFC proof that it can be done in this manner, but I think a
separate helper in nsproxy.c is in order to make it nice (and avoid
the extra alloc/free of the netns that copy_namespaces() will create).
IBM Linux Technology Center
email: danms at us.ibm.com
More information about the Containers