diff options
Diffstat (limited to 'net/sctp/sysctl.c')
| -rw-r--r-- | net/sctp/sysctl.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index fcd7096c953d..dc6f3ff32358 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c | |||
| @@ -159,12 +159,9 @@ static ctl_table sctp_table[] = { | |||
| 159 | .ctl_name = NET_SCTP_PRESERVE_ENABLE, | 159 | .ctl_name = NET_SCTP_PRESERVE_ENABLE, |
| 160 | .procname = "cookie_preserve_enable", | 160 | .procname = "cookie_preserve_enable", |
| 161 | .data = &sctp_cookie_preserve_enable, | 161 | .data = &sctp_cookie_preserve_enable, |
| 162 | .maxlen = sizeof(long), | 162 | .maxlen = sizeof(int), |
| 163 | .mode = 0644, | 163 | .mode = 0644, |
| 164 | .proc_handler = &proc_doulongvec_ms_jiffies_minmax, | 164 | .proc_handler = &proc_dointvec |
| 165 | .strategy = &sctp_sysctl_jiffies_ms, | ||
| 166 | .extra1 = &rto_timer_min, | ||
| 167 | .extra2 = &rto_timer_max | ||
| 168 | }, | 165 | }, |
| 169 | { | 166 | { |
| 170 | .ctl_name = NET_SCTP_RTO_ALPHA, | 167 | .ctl_name = NET_SCTP_RTO_ALPHA, |
