OpenVZ Forum


Home » Mailing lists » Devel » netns34
netns34 [message #19588] Tue, 07 August 2007 22:11 Go to next message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
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
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: netns34 [message #19589 is a reply to message #19588] Tue, 07 August 2007 22:17 Go to previous messageGo to next message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
ebiederm@xmission.com (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/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.

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

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: netns34 [message #19594 is a reply to message #19588] Wed, 08 August 2007 14:57 Go to previous messageGo to next message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Benjamin Thery <benjamin.thery@bull.net> writes:

> 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?

More or less.

> 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
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: netns34 [message #19615 is a reply to message #19589] Wed, 08 August 2007 11:16 Go to previous messageGo to next message
Benjamin Thery is currently offline  Benjamin Thery
Messages: 79
Registered: March 2007
Member
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

Eric W. Biederman wrote:
> ebiederm@xmission.com (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/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.
> 
> 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
> 
> 


-- 
B e n j a m i n   T h e r y  - BULL/DT/Open Software R&D

    http://www.bull.com

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: netns34 [message #19707 is a reply to message #19615] Tue, 14 August 2007 16:45 Go to previous messageGo to next message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Benjamin Thery <benjamin.thery@bull.net> writes:

> 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.

Hmm.  I thought I had that but it should be easy enough to fix.
> 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
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
netns45 [message #20159 is a reply to message #19589] Wed, 12 September 2007 16:47 Go to previous messageGo to next message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
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

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
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: netns45 [message #20161 is a reply to message #20159] Wed, 12 September 2007 16:57 Go to previous message
Daniel Lezcano is currently offline  Daniel Lezcano
Messages: 417
Registered: June 2006
Senior Member
Eric W. Biederman wrote:
> 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
> 
> 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



_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Previous Topic: [BUG] ULOG problem on stable 2.6.18
Next Topic: Kernel memory controller
Goto Forum:
  


Current Time: Sat Jul 13 17:03:10 GMT 2024

Total time taken to generate the page: 0.02288 seconds