]> git.baikalelectronics.ru Git - kernel.git/commit
net: Move all of the network sysctls without a namespace into init_net.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 19 Apr 2012 13:24:33 +0000 (13:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2012 01:21:17 +0000 (21:21 -0400)
commit97cda3cb8ab49d14375c04ce9349da3a4af0e828
treeb12606e6e74ee6d07823eb268e09d899946279fd
parent8741796c47d8d85dea74646e24db149abb174256
net: Move all of the network sysctls without a namespace into init_net.

This makes it clearer which sysctls are relative to your current network
namespace.

This makes it a little less error prone by not exposing sysctls for the
initial network namespace in other namespaces.

This is the same way we handle all of our other network interfaces to
userspace and I can't honestly remember why we didn't do this for
sysctls right from the start.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
31 files changed:
drivers/infiniband/core/ucma.c
net/802/tr.c
net/appletalk/sysctl_net_atalk.c
net/ax25/sysctl_net_ax25.c
net/bridge/br_netfilter.c
net/core/neighbour.c
net/core/sysctl_net_core.c
net/dccp/sysctl.c
net/decnet/dn_dev.c
net/decnet/sysctl_net_decnet.c
net/ipv4/netfilter/ip_queue.c
net/ipv4/route.c
net/ipv4/sysctl_net_ipv4.c
net/ipv6/netfilter/ip6_queue.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/sysctl_net_ipv6.c
net/ipx/sysctl_net_ipx.c
net/irda/irsysctl.c
net/llc/sysctl_net_llc.c
net/netfilter/nf_conntrack_proto.c
net/netfilter/nf_conntrack_standalone.c
net/netfilter/nf_log.c
net/netrom/sysctl_net_netrom.c
net/phonet/sysctl.c
net/rds/ib_sysctl.c
net/rds/iw_sysctl.c
net/rds/sysctl.c
net/rose/sysctl_net_rose.c
net/sctp/sysctl.c
net/unix/sysctl_net_unix.c
net/x25/sysctl_net_x25.c