aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorMichio Honda <micchie@sfc.wide.ad.jp>2011-04-26 04:36:05 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-02 05:04:53 -0400
commitdd51be0f5484b450b8d48c9226ed86ce3dd5102e (patch)
tree9e4744154cac9bb5f26960d01d90fbfa3045be61 /net/sctp
parent9f7d653b67aed2d92540fbb0a8adaf32fcf352ae (diff)
sctp: Add sysctl support for Auto-ASCONF.
This patch allows the system administrator to change default Auto-ASCONF on/off behavior via an sysctl value. Signed-off-by: Michio Honda <micchie@sfc.wide.ad.jp> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Acked-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/sysctl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c
index 50cb57f0919e..6b3952961b85 100644
--- a/net/sctp/sysctl.c
+++ b/net/sctp/sysctl.c
@@ -183,6 +183,13 @@ static ctl_table sctp_table[] = {
183 .proc_handler = proc_dointvec, 183 .proc_handler = proc_dointvec,
184 }, 184 },
185 { 185 {
186 .procname = "default_auto_asconf",
187 .data = &sctp_default_auto_asconf,
188 .maxlen = sizeof(int),
189 .mode = 0644,
190 .proc_handler = proc_dointvec,
191 },
192 {
186 .procname = "prsctp_enable", 193 .procname = "prsctp_enable",
187 .data = &sctp_prsctp_enable, 194 .data = &sctp_prsctp_enable,
188 .maxlen = sizeof(int), 195 .maxlen = sizeof(int),