提交 dd51be0f 编写于 作者: M Michio Honda 提交者: 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: NMichio Honda <micchie@sfc.wide.ad.jp>
Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: NWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册