Skip to content

Commit 0f76d25

Browse files
subashab@codeaurora.orgdavem330
authored andcommitted
net: xfrm: Change u32 sysctl entries to use proc_douintvec
proc_dointvec limits the values to INT_MAX in u32 sysctl entries. proc_douintvec allows to write upto UINT_MAX. Signed-off-by: Subash Abhinov Kasiviswanathan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 015777b commit 0f76d25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/xfrm/xfrm_sysctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ static struct ctl_table xfrm_table[] = {
1717
.procname = "xfrm_aevent_etime",
1818
.maxlen = sizeof(u32),
1919
.mode = 0644,
20-
.proc_handler = proc_dointvec
20+
.proc_handler = proc_douintvec
2121
},
2222
{
2323
.procname = "xfrm_aevent_rseqth",
2424
.maxlen = sizeof(u32),
2525
.mode = 0644,
26-
.proc_handler = proc_dointvec
26+
.proc_handler = proc_douintvec
2727
},
2828
{
2929
.procname = "xfrm_larval_drop",

0 commit comments

Comments
 (0)