Commit dd51be0f authored by Michio Honda's avatar Michio Honda Committed by David S. Miller

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: default avatarMichio Honda <micchie@sfc.wide.ad.jp>
Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9f7d653b
...@@ -182,6 +182,13 @@ static ctl_table sctp_table[] = { ...@@ -182,6 +182,13 @@ static ctl_table sctp_table[] = {
.mode = 0644, .mode = 0644,
.proc_handler = proc_dointvec, .proc_handler = proc_dointvec,
}, },
{
.procname = "default_auto_asconf",
.data = &sctp_default_auto_asconf,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec,
},
{ {
.procname = "prsctp_enable", .procname = "prsctp_enable",
.data = &sctp_prsctp_enable, .data = &sctp_prsctp_enable,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment