From dd51be0f5484b450b8d48c9226ed86ce3dd5102e Mon Sep 17 00:00:00 2001 From: Michio Honda Date: Tue, 26 Apr 2011 17:36:05 +0900 Subject: 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 Signed-off-by: YOSHIFUJI Hideaki Acked-by: Wei Yongjun Signed-off-by: David S. Miller --- net/sctp/sysctl.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'net/sctp/sysctl.c') diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index 50cb57f0919..6b3952961b8 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c @@ -182,6 +182,13 @@ static ctl_table sctp_table[] = { .mode = 0644, .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, -- cgit v1.2.3