From: David S. Miller Date: Wed, 28 Jan 2009 06:41:03 +0000 (-0800) Subject: ipv6: Make mc_forwarding sysctl read-only. X-Git-Tag: v6.6-pxa1908~40760^2~15 X-Git-Url: https://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a4e6db07984529847c6ad8bc616485e721dcb809;p=linux.git ipv6: Make mc_forwarding sysctl read-only. The kernel manages this value internally, as necessary, as VIFs are added/removed and as multicast routers are registered and deregistered. Signed-off-by: David S. Miller --- diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index e92ad8455c63..f9afb452249c 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -4250,7 +4250,7 @@ static struct addrconf_sysctl_table .procname = "mc_forwarding", .data = &ipv6_devconf.mc_forwarding, .maxlen = sizeof(int), - .mode = 0644, + .mode = 0444, .proc_handler = proc_dointvec, }, #endif