summaryrefslogtreecommitdiff
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-01-27 22:41:03 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-27 22:41:03 -0800
commita4e6db07984529847c6ad8bc616485e721dcb809 (patch)
tree24f5367b42ce03d8feccb24925bffe6eb09bca4a /net/ipv6/addrconf.c
parent1d6e55f195128813f96458203a9fa14204f9251e (diff)
downloadlwn-a4e6db07984529847c6ad8bc616485e721dcb809.tar.gz
lwn-a4e6db07984529847c6ad8bc616485e721dcb809.zip
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 <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c2
1 files changed, 1 insertions, 1 deletions
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