nfc: add missing attribute validation for SE API
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:24 +0000 (21:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2020 09:54:12 +0000 (10:54 +0100)
commit69f30950da6d4e954bc865a8c2632392d3dc3ed5
tree16ad6618f44148a845d98a23ad45525497c8d3c9
parent41d830acc66107415ea37d92b325e21be7ea801c
nfc: add missing attribute validation for SE API

[ Upstream commit 361d23e41ca6e504033f7e66a03b95788377caae ]

Add missing attribute validation for NFC_ATTR_SE_INDEX
to the netlink policy.

Fixes: 5ce3f32b5264 ("NFC: netlink: SE API implementation")
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