mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
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>
This commit is contained in:
parent
015777be2d
commit
0f76d25644
@ -17,13 +17,13 @@ static struct ctl_table xfrm_table[] = {
|
|||||||
.procname = "xfrm_aevent_etime",
|
.procname = "xfrm_aevent_etime",
|
||||||
.maxlen = sizeof(u32),
|
.maxlen = sizeof(u32),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_dointvec
|
.proc_handler = proc_douintvec
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.procname = "xfrm_aevent_rseqth",
|
.procname = "xfrm_aevent_rseqth",
|
||||||
.maxlen = sizeof(u32),
|
.maxlen = sizeof(u32),
|
||||||
.mode = 0644,
|
.mode = 0644,
|
||||||
.proc_handler = proc_dointvec
|
.proc_handler = proc_douintvec
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.procname = "xfrm_larval_drop",
|
.procname = "xfrm_larval_drop",
|
||||||
|
Loading…
Reference in New Issue
Block a user