]> git.baikalelectronics.ru Git - kernel.git/commit
netlink: allow NLA_MSECS to have range validation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 30 Apr 2020 20:13:09 +0000 (22:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 00:51:42 +0000 (17:51 -0700)
commit6499c28cb05440ad6c3e5962cf78a89bc2725a32
tree5c696cde25b78db8ee4437f71d27709296213ffe
parent79d4b9010d2ea6591d5464c80a9477e55de8057b
netlink: allow NLA_MSECS to have range validation

Since NLA_MSECS is really equivalent to NLA_U64, allow
it to have range validation as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h
lib/nlattr.c