commit | 1680a3868f00be638a8a213a321e88d11ce7e9f7 | [log] [tgz] |
---|---|---|
author | Liping Zhang <zlpnobody@gmail.com> | Fri Apr 07 23:51:05 2017 +0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Apr 07 09:46:44 2017 -0700 |
tree | c0ca43cac2911cf755b27f2861d90a199ef8e4a6 | |
parent | 269c930e6698e6afa6d4606bfd241f4497597e79 [diff] |
sysctl: add sanity check for proc_douintvec Commit e7d316a02f68 ("sysctl: handle error writing UINT_MAX to u32 fields") introduced the proc_douintvec helper function, but it forgot to add the related sanity check when doing register_sysctl_table. So add it now. Signed-off-by: Liping Zhang <zlpnobody@gmail.com> Cc: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>