]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cd02c46a237a849af26f76a340016a74f6d3a8e
tree760bad92a2b1918837c5f8cdaa17b3b292fc606c
parentda514544e4a3aea0d403cc816b11abf9f292b55d
nfc: add missing attribute validation for vendor subcommand

[ Upstream commit 946845fee3e3236946300712bdc8c1178a586897 ]

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

Fixes: b327759bd057 ("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