From: Gao feng Date: Thu, 20 Jun 2013 02:01:33 +0000 (+0800) Subject: neigh: only allow init_net to change the default neigh_parms X-Git-Tag: v3.11-rc1~16^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=170d6f99541600ec7512f1d2b0b0c349009098d2;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed