diff options
author | Michio Honda <micchie@sfc.wide.ad.jp> | 2011-04-26 17:36:05 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-02 02:04:53 -0700 |
commit | dd51be0f5484b450b8d48c9226ed86ce3dd5102e (patch) | |
tree | 9e4744154cac9bb5f26960d01d90fbfa3045be61 /net/sctp | |
parent | 9f7d653b67aed2d92540fbb0a8adaf32fcf352ae (diff) | |
download | linux-stable-dd51be0f5484b450b8d48c9226ed86ce3dd5102e.tar.gz linux-stable-dd51be0f5484b450b8d48c9226ed86ce3dd5102e.tar.bz2 linux-stable-dd51be0f5484b450b8d48c9226ed86ce3dd5102e.zip |
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: Michio Honda <micchie@sfc.wide.ad.jp>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: Wei Yongjun <yjwei@cn.fujitsu.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 50cb57f0919e..6b3952961b85 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c @@ -183,6 +183,13 @@ static ctl_table sctp_table[] = { .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", .data = &sctp_prsctp_enable, .maxlen = sizeof(int), |