]> 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)
commit2954e8c591bf83c6d4f27e030e6f533f3a851bf8
tree5c696cde25b78db8ee4437f71d27709296213ffe
parent0c2ae3d3f24004de5974bac425e05cf980611a3d
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