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:14:17 +0000 (07:14 +0100)
commit18164e7902ba77816d5b70d74876826d46469729
treeb18b303bb0493941eee59da658215653d42193b8
parentb198061962a94a15e9d306b0f625e722b32ce769
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