diff options
author | subashab@codeaurora.org <subashab@codeaurora.org> | 2016-09-06 20:09:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-08 02:17:53 -0400 |
commit | 0f76d2564469fd3a337de088f533364cef206130 (patch) | |
tree | 755db59113cf05ebf20879b1033eca08563bc497 /net/xfrm | |
parent | 015777be2d489dcf9217353b6492ddc6ae85c1b2 (diff) |
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 <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_sysctl.c b/net/xfrm/xfrm_sysctl.c index 05a6e3d9c258..35a7e794ad04 100644 --- a/net/xfrm/xfrm_sysctl.c +++ b/net/xfrm/xfrm_sysctl.c | |||
@@ -17,13 +17,13 @@ static struct ctl_table xfrm_table[] = { | |||
17 | .procname = "xfrm_aevent_etime", | 17 | .procname = "xfrm_aevent_etime", |
18 | .maxlen = sizeof(u32), | 18 | .maxlen = sizeof(u32), |
19 | .mode = 0644, | 19 | .mode = 0644, |
20 | .proc_handler = proc_dointvec | 20 | .proc_handler = proc_douintvec |
21 | }, | 21 | }, |
22 | { | 22 | { |
23 | .procname = "xfrm_aevent_rseqth", | 23 | .procname = "xfrm_aevent_rseqth", |
24 | .maxlen = sizeof(u32), | 24 | .maxlen = sizeof(u32), |
25 | .mode = 0644, | 25 | .mode = 0644, |
26 | .proc_handler = proc_dointvec | 26 | .proc_handler = proc_douintvec |
27 | }, | 27 | }, |
28 | { | 28 | { |
29 | .procname = "xfrm_larval_drop", | 29 | .procname = "xfrm_larval_drop", |