macsec: add missing attribute validation for port
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:05:17 +0000 (21:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2020 09:54:11 +0000 (10:54 +0100)
commitf0247be8076aa43a1b795530ceded43e7773a4a9
tree2819c98f294ae639eaab6abb00c9c7c71d11636e
parent13e91bc63dcac99b9d96a8459e309c27009c1eb3
macsec: add missing attribute validation for port

[ Upstream commit 31d9a1c524964bac77b7f9d0a1ac140dc6b57461 ]

Add missing attribute validation for IFLA_MACSEC_PORT
to the netlink policy.

Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver")
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>
drivers/net/macsec.c