netns34
Subsystems (3)
Ok. After a bunch of work I have my network namespace patches working again against 2.6.23-rc2 or whatever is linus's latest.
I need to break out my sysctl work and send that separately.
I need to get veth in there and I need to get a patch to /sbin/ip to work with Patrick McHardy's form of patches.
But I think I am quickly approaching the point where I will have patches ready for merging.
Once I get sysctl sorted out I will start post a minimal patchset for prereview and see where things go.
Hopefully my sysfs work finally sticks this time.
Eric
A message that is not in the archive (sent off-list or not yet received): m11wefgfl0.fsf-T1Yj925okcoyDheHMi7gv2pdwda3JcWeAL8bYrjMMd8@public.gmane.org
Quoted 8 lines · ebiederm-aS9lmoZGLiVWk0Htik3J/[email protected] (Eric W. Biederman) writes:
Ok. After a bunch of work I have my network namespace patches working again against 2.6.23-rc2 or whatever is linus's latest.
I need to break out my sysctl work and send that separately.
I need to get veth in there and I need to get a patch to
/sbin/ipto work with Patrick McHardy's form of patches.
Quoted 7 lines
But I think I am quickly approaching the point where I will have patches ready for merging.
Once I get sysctl sorted out I will start post a minimal patchset for prereview and see where things go.
Hopefully my sysfs work finally sticks this time.
And the important part the code will shortly be available at:git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-netns.git#netns/v2.6.23-rc2netns34
And also from the default head.
Eric
A message that is not in the archive (sent off-list or not yet received): m1wsw7f0r0.fsf-T1Yj925okcoyDheHMi7gv2pdwda3JcWeAL8bYrjMMd8@public.gmane.org
Hi Eric,
I've cloned the repository and built the kernel.
Unshare support is broken. It misses a small change in sys_unshare() to accept the CLONE_NEWNET flag.
I guess it should be added in commit "net: Add network namespace clone & unshare support." (See attached patch below)
Also, have you removed the "sysfs interface support for moving devices between namespaces" on purpose? Is there another way to move interfaces now?
Benjamin
Quoted 26 lines · Eric W. Biederman
Quoted 8 lines · ebiederm-aS9lmoZGLiVWk0Htik3J/[email protected] (Eric W. Biederman) writes:
Ok. After a bunch of work I have my network namespace patches working again against 2.6.23-rc2 or whatever is linus's latest.
I need to break out my sysctl work and send that separately.
I need to get veth in there and I need to get a patch to
/sbin/ipto work with Patrick McHardy's form of patches.Quoted 7 lines
But I think I am quickly approaching the point where I will have patches ready for merging.
Once I get sysctl sorted out I will start post a minimal patchset for prereview and see where things go.
Hopefully my sysfs work finally sticks this time.
And the important part the code will shortly be available at:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-netns.git#netns/v2.6.23-rc2netns34And also from the default head.
Eric
Signature · 3 lines
B e n j a m i n T h e r y - BULL/DT/Open Software R&D http://www.bull.com
Fix network namespace unshare support.
Add CLONE_NEWNET flag in sys_unshare().
kernel/fork.c +2 -1
@@ -1608,7 +1608,8 @@ asmlinkage long sys_unshare(unsigned lon err = -EINVAL ;if (unshare_flags & ~(CLONE_THREAD |CLONE_FS |CLONE_NEWNS |CLONE_SIGHAND |CLONE_VM |CLONE_FILES |CLONE_SYSVSEM | -CLONE_NEWUTS |CLONE_NEWIPC |CLONE_NEWUSER )) +CLONE_NEWUTS |CLONE_NEWIPC |CLONE_NEWUSER | +CLONE_NEWNET )) goto bad_unshare_out;if ((err =unshare_thread (unshare_flags)))
_______________________________________________
Containers mailing list Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
https://lists.linux-foundation.org/mailman/listinfo/containers
A message that is not in the archive (sent off-list or not yet received): 46B9A620.4050906-6ktuUTfB/[email protected]
Quoted 11 lines · Benjamin Thery
Hi Eric,
I've cloned the repository and built the kernel.
Unshare support is broken. It misses a small change in
sys_unshare()to accept theCLONE_NEWNETflag.
I guess it should be added in commit "net: Add network namespace clone & unshare support." (See attached patch below)Also, have you removed the "sysfs interface support for moving devices between namespaces" on purpose?
More or less.
Quoted 1 line
Is there another way to move interfaces now?
I'm half way through the switch to using /bin/ip, and following of the work the Patrick McHardy et all have doe. The kernel side is there (or it should be) but I haven't gotten the user space side built and tested.
Migrating by exiting the namespace has worked well enough for testing so I haven't worried about getting the user space side of things working again.
Eric
Quoted 6 lines · Benjamin Thery
Hi Eric,
I've cloned the repository and built the kernel.
Unshare support is broken. It misses a small change in
sys_unshare()to accept theCLONE_NEWNETflag.
Hmm. I thought I had that but it should be easy enough to fix.
Quoted 6 lines
I guess it should be added in commit "net: Add network namespace clone & unshare support." (See attached patch below)
Also, have you removed the "sysfs interface support for moving devices between namespaces" on purpose?
Is there another way to move interfaces now?
Weird. I thought I had replaced that patch but when I looked closer the replacement doesn't show up in my tree. It's pretty straightforward so I will make a stab at getting that back in there.
Eric
netns45
In reply to a message not in the archiveOk just to keep everyone in sync.
I just uploaded a version of my netns tree up to kernel.org rebased on top of what David Miller has just merged.
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-netns.git#netns/v2.6.23-rc5netns45
Once things have settled down a bit I will figure out what needs to be sent next.
I will probably concentrate on my miscellaneous bug fixes and the sysfs work.
Daniel if you guys have any bug fixes for me I will be happy to apply them, so the don't get forgotten.
Eric
A message that is not in the archive (sent off-list or not yet received): m1wsuv96f8.fsf_-_-T1Yj925okcoyDheHMi7gv2pdwda3JcWeAL8bYrjMMd8@public.gmane.org
Re: netns45
Quoted 7 lines · Eric W. Biederman
Ok just to keep everyone in sync.
I just uploaded a version of my netns tree up to kernel.org rebased on top of what David Miller has just merged.
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-netns.git#netns/v2.6.23-rc5netns45
Quoted 8 lines
Once things have settled down a bit I will figure out what needs to be sent next.
I will probably concentrate on my miscellaneous bug fixes and the sysfs work.
Daniel if you guys have any bug fixes for me I will be happy to apply them, so the don't get forgotten.
Thanks Eric for the update.
We checked with Benjamin all the fixes, a few are missing. Some of them are already sent and merged to net-2.6.24. We will port the missing ones to netns45 and send them to you asap.
Regards˙
-- Daniel