projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'linux-can-next-for-3.16-20140521' of git://gitorious.org/linux-can/linux...
[cascardo/linux.git]
/
net
/
dccp
/
sysctl.c
diff --git
a/net/dccp/sysctl.c
b/net/dccp/sysctl.c
index
607ab71
..
53731e4
100644
(file)
--- a/
net/dccp/sysctl.c
+++ b/
net/dccp/sysctl.c
@@
-20,6
+20,7
@@
/* Boundary values */
static int zero = 0,
/* Boundary values */
static int zero = 0,
+ one = 1,
u8_max = 0xFF;
static unsigned long seqw_min = DCCPF_SEQ_WMIN,
seqw_max = 0xFFFFFFFF; /* maximum on 32 bit */
u8_max = 0xFF;
static unsigned long seqw_min = DCCPF_SEQ_WMIN,
seqw_max = 0xFFFFFFFF; /* maximum on 32 bit */
@@
-58,7
+59,7
@@
static struct ctl_table dccp_default_table[] = {
.maxlen = sizeof(sysctl_dccp_request_retries),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
.maxlen = sizeof(sysctl_dccp_request_retries),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
- .extra1 = &
zero
,
+ .extra1 = &
one
,
.extra2 = &u8_max,
},
{
.extra2 = &u8_max,
},
{