From: Pavel Emelyanov Date: Sat, 8 Dec 2007 08:11:51 +0000 (-0800) Subject: [NET] sysctl: prepare core tables to point to netns variables X-Git-Tag: v2.6.25-rc1~1162^2~1176 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=790a35328991b01181ff5624bdb084053b6fac54;p=pandora-kernel.git [NET] sysctl: prepare core tables to point to netns variables 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 procedure for net sysctls, so later parts of this code may migrate to some more generic place. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed