]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[NETNS][IPV6]: Make mld_max_msf readonly in other namespaces.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 10 Jan 2008 10:57:43 +0000 (02:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:19 +0000 (15:01 -0800)
commit7c76509d0da99f29289b9b7ab134791e45d49b15
tree6cff76a24da35a80106dadfa8669a4a92b971f77
parente71e0349eb32bc438fa80d8990c6f3592967d111
[NETNS][IPV6]: Make mld_max_msf readonly in other namespaces.

The mld_max_msf protects the system with a maximum allowed multicast
source filters. Making this variable per namespace can be potentially
an problem if someone inside a namespace set it to a big value, that
will impact the whole system including other namespaces.

I don't see any benefits to have it per namespace for now, so in order
to keep a directory entry in a newly created namespace, I make it
read-only when we are not in the initial network namespace.

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