提交 463118c3 编写于 作者: X Xin Long 提交者: David S. Miller

sctp: support sysctl to allow users to use stream interleave

This is the last patch for support of stream interleave, after this patch,
users could enable stream interleave by systcl -w net.sctp.intl_enable=1.
Signed-off-by: NXin Long <lucien.xin@gmail.com>
Acked-by: NMarcelo R. Leitner <marcelo.leitner@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 107e2425
...@@ -288,6 +288,13 @@ static struct ctl_table sctp_net_table[] = { ...@@ -288,6 +288,13 @@ static struct ctl_table sctp_net_table[] = {
.mode = 0644, .mode = 0644,
.proc_handler = proc_sctp_do_auth, .proc_handler = proc_sctp_do_auth,
}, },
{
.procname = "intl_enable",
.data = &init_net.sctp.intl_enable,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec,
},
{ {
.procname = "addr_scope_policy", .procname = "addr_scope_policy",
.data = &init_net.sctp.scope_policy, .data = &init_net.sctp.scope_policy,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册