]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nl802154: add missing attribute validation for dev_type
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:15 +0000 (21:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2020 08:07:39 +0000 (09:07 +0100)
commit76de44ee4d7b6423517ccd5b63fdce27eadcd409
tree0d2fc0cd0e303924c1229936f462b441bfa83d6a
parent5869a748587a7c05a6b4739d2d3637e54e2d8950
nl802154: add missing attribute validation for dev_type

[ Upstream commit b60673c4c418bef7550d02faf53c34fbfeb366bf ]

Add missing attribute type validation for IEEE802154_ATTR_DEV_TYPE
to the netlink policy.

Fixes: 90c049b2c6ae ("ieee802154: interface type to be added")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ieee802154/nl_policy.c