]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit36c2e31ad25bd087756b8db9584994d1d80c236b
tree121303c55fddfef14034936ff5344b0e90f45b19
parent5077e2c8cf4d6b22a95a6c54a917f764e8887978
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: 435fe1c0c1f7 ("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