Re: [PATCH net-2.6.25 2/3]sysctl: prepare core tables to point to netns variables

2007-12-08 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Fri, 07 Dec 2007 16:10:49 +0300 > Some of ctl variables are going to be on the struct > net. Here's the way to adjust the ->data pointer on the > ctl_table-s to point on the right variable. > > Since some pointers still point on the global variable

[PATCH net-2.6.25 2/3]sysctl: prepare core tables to point to netns variables

2007-12-07 Thread Pavel Emelyanov
Some of ctl variables are going to be on the struct net. Here's the way to adjust the ->data pointer on the ctl_table-s to point on the right variable. Since some pointers still point on the global variables, I keep turning the write bits off on such tables. This looks to become a common procedu