nfc: add missing attribute validation for vendor subcommand
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:26 +0000 (21:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 06:17:46 +0000 (07:17 +0100)
commit7030138e3c6d778f1ecb30af70127ada2492f5a7
tree760bad92a2b1918837c5f8cdaa17b3b292fc606c
parentc9f29e311fc29cb26a295cc0ccb8497f38e242ef
nfc: add missing attribute validation for vendor subcommand

[ Upstream commit 6ba3da446551f2150fadbf8c7788edcb977683d3 ]

Add missing attribute validation for vendor subcommand attributes
to the netlink policy.

Fixes: 9e58095f9660 ("NFC: netlink: Implement vendor command support")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/nfc/netlink.c