X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsctp%2Fsysctl.c;h=dc6f3ff32358c0dafd1b8ae1f63d610a5106e9b5;hb=489447380a2921ec0e9154f773c44ab3167ede4b;hp=fcd7096c953d5d5698b3ce456f3512915b66c304;hpb=5d06b6bef96ebb27ae9e36656df3c5ef0a2a93ca;p=linux-2.6 diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index fcd7096c95..dc6f3ff323 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c @@ -159,12 +159,9 @@ static ctl_table sctp_table[] = { .ctl_name = NET_SCTP_PRESERVE_ENABLE, .procname = "cookie_preserve_enable", .data = &sctp_cookie_preserve_enable, - .maxlen = sizeof(long), + .maxlen = sizeof(int), .mode = 0644, - .proc_handler = &proc_doulongvec_ms_jiffies_minmax, - .strategy = &sctp_sysctl_jiffies_ms, - .extra1 = &rto_timer_min, - .extra2 = &rto_timer_max + .proc_handler = &proc_dointvec }, { .ctl_name = NET_SCTP_RTO_ALPHA,