diff options
author | Pavel Emelyanov | 2007-12-08 09:11:51 +0100 |
---|---|---|
committer | David S. Miller | 2008-01-28 23:56:56 +0100 |
commit | 790a35328991b01181ff5624bdb084053b6fac54 (patch) | |
tree | 96b85667d9db0054bd3e988bb2df828b294fe143 /net/socket.c | |
parent | [NET] sysctl: make the sys.net.core sysctls per-namespace (diff) | |
download | kernel-qcow2-linux-790a35328991b01181ff5624bdb084053b6fac54.tar.gz kernel-qcow2-linux-790a35328991b01181ff5624bdb084053b6fac54.tar.xz kernel-qcow2-linux-790a35328991b01181ff5624bdb084053b6fac54.zip |
[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 <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions