Re: [PATCH net-2.6.25 5/7] Move the devinet pointers on the struct net

2007-12-16 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Tue, 11 Dec 2007 20:57:18 +0300 > This is the core. > > Add all and default pointers on the netns_ipv4 and register > a new pernet subsys to initialize them. > > Also add the ctl_table_header to register the > net.ipv4.ip_forward ctl. > > I don't

[PATCH net-2.6.25 5/7] Move the devinet pointers on the struct net

2007-12-11 Thread Pavel Emelyanov
This is the core. Add all and default pointers on the netns_ipv4 and register a new pernet subsys to initialize them. Also add the ctl_table_header to register the net.ipv4.ip_forward ctl. I don't allocate additional memory for init_net, but use global devinets. Signed-off-by: Pavel Emelyanov