]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:12:01 +0000 (15:12 +0200)
commit78f4daf715e8d2f56b2b5be5a5e43c994a74ee85
treea54a39ba47733da9d45ee28b8f4104514786d01e
parent7db54f3ba8cf45a8a3b97472a6f3703293195706
net: geneve: add missing netlink policy and size for IFLA_GENEVE_INNER_PROTO_INHERIT

commit 36c2e31ad25bd087756b8db9584994d1d80c236b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/geneve.c