[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-15 Thread David Miller
Pavel, please respin these patches since I applied the updated version of patches 1 and 2 which added the generic netns bits. Thanks! ___ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/listinfo/containers

[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-15 Thread David Miller
From: Pavel Emelyanov [EMAIL PROTECTED] Date: Tue, 15 Apr 2008 14:31:45 +0400 Are you willing to look at vlans and ip tunnels (ipip, gre, sit) as well? This will be 6 sets ~7 patches each. Sure. ___ Containers mailing list [EMAIL PROTECTED]

[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-15 Thread Pavel Emelyanov
David Miller wrote: Pavel, please respin these patches since I applied the updated version of patches 1 and 2 which added the generic netns bits. Thank you, David! I will do it today. Are you willing to look at vlans and ip tunnels (ipip, gre, sit) as well? This will be 6 sets ~7 patches

[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-12 Thread Pavel Emelyanov
So RCU is protecting -only- the net_generic structure that net_generic() is traversing, and the structure returned by net_generic() is protected by a reference counter in the upper-level struct net. If this is the approach, I am happy. ;-) Yup! Thank you :)

[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-11 Thread Paul E. McKenney
On Fri, Apr 11, 2008 at 11:55:59AM +0400, Pavel Emelyanov wrote: Paul E. McKenney wrote: On Thu, Apr 10, 2008 at 07:06:24PM +0400, Pavel Emelyanov wrote: This is the first step in making tuntap devices work in net namespaces. The structure mentioned is pointed by generic net pointer with

[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-11 Thread Pavel Emelyanov
Paul E. McKenney wrote: On Fri, Apr 11, 2008 at 11:55:59AM +0400, Pavel Emelyanov wrote: Paul E. McKenney wrote: On Thu, Apr 10, 2008 at 07:06:24PM +0400, Pavel Emelyanov wrote: This is the first step in making tuntap devices work in net namespaces. The structure mentioned is pointed by

[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-11 Thread Paul E. McKenney
On Fri, Apr 11, 2008 at 07:45:06PM +0400, Pavel Emelyanov wrote: Paul E. McKenney wrote: On Fri, Apr 11, 2008 at 11:55:59AM +0400, Pavel Emelyanov wrote: Paul E. McKenney wrote: On Thu, Apr 10, 2008 at 07:06:24PM +0400, Pavel Emelyanov wrote: This is the first step in making tuntap

[Devel] Re: [PATCH 3/14][TUN]: Introduce the tun_net structure.

2008-04-10 Thread Paul E. McKenney
On Thu, Apr 10, 2008 at 07:06:24PM +0400, Pavel Emelyanov wrote: This is the first step in making tuntap devices work in net namespaces. The structure mentioned is pointed by generic net pointer with tun_net_id id, and tun driver fills one on its load. It will contain only the tun devices