diff options
author | David S. Miller <davem@davemloft.net> | 2020-03-03 13:28:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-03 13:28:49 -0800 |
commit | a6fbcddad6a4141d119f18dca72f9ecc897eac51 (patch) | |
tree | 1c56d324f315ec223ddffbd65a8a92428af82f06 /drivers/net/macsec.c | |
parent | ab124d580ad40b0666d7892ceccd8c4ac1ce4c79 (diff) | |
parent | 6ba3da446551f2150fadbf8c7788edcb977683d3 (diff) | |
download | linux-a6fbcddad6a4141d119f18dca72f9ecc897eac51.tar.gz linux-a6fbcddad6a4141d119f18dca72f9ecc897eac51.tar.bz2 linux-a6fbcddad6a4141d119f18dca72f9ecc897eac51.zip |
Merge branch 'net-add-missing-netlink-policies'
Jakub Kicinski says:
====================
net: add missing netlink policies
Recent one-off fixes motivated me to do some grepping for
more missing netlink attribute policies. I didn't manage
to even produce a KASAN splat with these, but it should
be possible with sufficient luck. All the missing policies
are pretty trivial (NLA_Uxx).
I've only tested the devlink patches, the rest compiles.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macsec.c')
-rw-r--r-- | drivers/net/macsec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c index 45bfd99f17fa..5af424eeea86 100644 --- a/drivers/net/macsec.c +++ b/drivers/net/macsec.c @@ -3342,6 +3342,7 @@ static const struct device_type macsec_type = { static const struct nla_policy macsec_rtnl_policy[IFLA_MACSEC_MAX + 1] = { [IFLA_MACSEC_SCI] = { .type = NLA_U64 }, + [IFLA_MACSEC_PORT] = { .type = NLA_U16 }, [IFLA_MACSEC_ICV_LEN] = { .type = NLA_U8 }, [IFLA_MACSEC_CIPHER_SUITE] = { .type = NLA_U64 }, [IFLA_MACSEC_WINDOW] = { .type = NLA_U32 }, |