]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 21:28:48 +0000 (13:28 -0800)
commitb666b32ad8040e7b85b02a0729560ac74762b2d2
tree75b838ec6ecb261b0f7e5a25d94d772fcedd3118
parentda90ed5f06a5dc96411e2bfc124cfa6d55630dec
nl802154: add missing attribute validation for dev_type

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

Fixes: cbd16bc04ba0 ("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>
net/ieee802154/nl_policy.c