]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETNS][IPV6] proc - protect snmp6 from non-init_net calls
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 5 Mar 2008 18:46:31 +0000 (10:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Mar 2008 18:46:31 +0000 (10:46 -0800)
commit300bf591deca8d108799e70e9300dc31765643e3
tree24f0399015f1b42e967e1bdc9eaacddc8622d35b
parent075de9395760d6d181078f863e676e81c06e1af2
[NETNS][IPV6] proc - protect snmp6 from non-init_net calls

This patchset avoids creation of the /proc entry for snmp6 when
the call is made from a network namespace different from the init_net.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/proc.c