]> git.baikalelectronics.ru Git - kernel.git/commit
net: geneve: add missing netlink policy and size for IFLA_GENEVE_INNER_PROTO_INHERIT
authorEyal Birger <eyal.birger@gmail.com>
Tue, 22 Mar 2022 04:39:54 +0000 (06:39 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Mar 2022 05:19:46 +0000 (22:19 -0700)
commit1b6699b9f4ade45476fa449632dbfc643230df8a
tree121303c55fddfef14034936ff5344b0e90f45b19
parentd76f9c3a9bb8797fb01f93c2696f6f3f96d75b14
net: geneve: add missing netlink policy and size for IFLA_GENEVE_INNER_PROTO_INHERIT

Add missing netlink attribute policy and size calculation.
Also enable strict validation from this new attribute onwards.

Fixes: 4ec1e2744feb ("net: geneve: support IPv4/IPv6 as inner protocol")
Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Link: https://lore.kernel.org/r/20220322043954.3042468-1-eyal.birger@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/geneve.c