aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/sysctl.c')
-rw-r--r--net/dccp/sysctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/sysctl.c b/net/dccp/sysctl.c
index 607ab71b5a0c..53731e45403c 100644
--- a/net/dccp/sysctl.c
+++ b/net/dccp/sysctl.c
@@ -20,6 +20,7 @@
20 20
21/* Boundary values */ 21/* Boundary values */
22static int zero = 0, 22static int zero = 0,
23 one = 1,
23 u8_max = 0xFF; 24 u8_max = 0xFF;
24static unsigned long seqw_min = DCCPF_SEQ_WMIN, 25static unsigned long seqw_min = DCCPF_SEQ_WMIN,
25 seqw_max = 0xFFFFFFFF; /* maximum on 32 bit */ 26 seqw_max = 0xFFFFFFFF; /* maximum on 32 bit */
@@ -58,7 +59,7 @@ static struct ctl_table dccp_default_table[] = {
58 .maxlen = sizeof(sysctl_dccp_request_retries), 59 .maxlen = sizeof(sysctl_dccp_request_retries),
59 .mode = 0644, 60 .mode = 0644,
60 .proc_handler = proc_dointvec_minmax, 61 .proc_handler = proc_dointvec_minmax,
61 .extra1 = &zero, 62 .extra1 = &one,
62 .extra2 = &u8_max, 63 .extra2 = &u8_max,
63 }, 64 },
64 { 65 {