Skip to content

Commit 463118c

Browse files
lxindavem330
authored andcommitted
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: Xin Long <[email protected]> Acked-by: Marcelo R. Leitner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 107e242 commit 463118c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

net/sctp/sysctl.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,13 @@ static struct ctl_table sctp_net_table[] = {
288288
.mode = 0644,
289289
.proc_handler = proc_sctp_do_auth,
290290
},
291+
{
292+
.procname = "intl_enable",
293+
.data = &init_net.sctp.intl_enable,
294+
.maxlen = sizeof(int),
295+
.mode = 0644,
296+
.proc_handler = proc_dointvec,
297+
},
291298
{
292299
.procname = "addr_scope_policy",
293300
.data = &init_net.sctp.scope_policy,

0 commit comments

Comments
 (0)