diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-12-15 00:41:32 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-15 13:52:22 -0500 |
commit | 463118c34a3585768fa9715a2faca2b3697b1cf5 (patch) | |
tree | 681941be3da0be7674afd00bf468dd588410cf1b /net/sctp | |
parent | 107e242569541795a84264f94375e987ba04d309 (diff) | |
download | linux-stable-463118c34a3585768fa9715a2faca2b3697b1cf5.tar.gz linux-stable-463118c34a3585768fa9715a2faca2b3697b1cf5.tar.bz2 linux-stable-463118c34a3585768fa9715a2faca2b3697b1cf5.zip |
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 <lucien.xin@gmail.com>
Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/sysctl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index ef7ca44d6e6a..33ca5b73cdb3 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c @@ -289,6 +289,13 @@ static struct ctl_table sctp_net_table[] = { .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", .data = &init_net.sctp.scope_policy, .maxlen = sizeof(int), |