diff options
author | 2013-06-20 10:01:33 +0800 | |
---|---|---|
committer | 2013-06-19 21:13:24 -0700 | |
commit | 170d6f99541600ec7512f1d2b0b0c349009098d2 (patch) | |
tree | 939fa57fa9d7f52dc1341e3d43788a7eff8e157c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | neigh: no need to call lookup_neigh_parms in neigh_parms_alloc (diff) | |
download | linux-dev-170d6f99541600ec7512f1d2b0b0c349009098d2.tar.xz linux-dev-170d6f99541600ec7512f1d2b0b0c349009098d2.zip |
neigh: only allow init_net to change the default neigh_parms
Though we don't export the /proc/sys/net/ipv[4,6]/neigh/default/
directory to the un-init_net, but we can still use cmd such as
"ip ntable change name arp_cache locktime 129" to change the locktime
of default neigh_parms.
This patch disallows the un-init_net to find out the neigh_table.parms.
So the un-init_net will failed to influence the init_net.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions