diff options
author | David S. Miller <davem@davemloft.net> | 2009-06-03 21:43:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-03 21:43:52 -0700 |
commit | a8c617eae4dc2ea9f3d64472233f2d3dc3c9993c (patch) | |
tree | 2a4bdf0b610c0bbdec5c1dd452b475a09b47d42f /net/sctp/sysctl.c | |
parent | 2307f866f542f3397d24f78d0efd74f4ab214a96 (diff) | |
parent | c6ba68a26645dbc5029a9faa5687ebe6fcfc53e4 (diff) |
Merge branch 'net-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vxy/lksctp-dev
Diffstat (limited to 'net/sctp/sysctl.c')
-rw-r--r-- | net/sctp/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index f58e994e685..63eabbc7129 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c @@ -49,8 +49,8 @@ static int zero = 0; static int one = 1; static int timer_max = 86400000; /* ms in one day */ static int int_max = INT_MAX; -static long sack_timer_min = 1; -static long sack_timer_max = 500; +static int sack_timer_min = 1; +static int sack_timer_max = 500; extern int sysctl_sctp_mem[3]; extern int sysctl_sctp_rmem[3]; @@ -223,7 +223,7 @@ static ctl_table sctp_table[] = { .ctl_name = NET_SCTP_SACK_TIMEOUT, .procname = "sack_timeout", .data = &sctp_sack_timeout, - .maxlen = sizeof(long), + .maxlen = sizeof(int), .mode = 0644, .proc_handler = proc_dointvec_minmax, .strategy = sysctl_intvec, |