]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_tunnel: add missing attribute validation for tunnels
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:08:33 +0000 (21:08 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Mar 2020 01:28:25 +0000 (02:28 +0100)
commitd6b48ecd24d4bddb43789ffffbd039aaa86b5993
treeb806779335b70e51e851c096d58c46f60458e417
parent35c76a2d923651bacaf31e5a35120045d65c3e26
netfilter: nft_tunnel: add missing attribute validation for tunnels

Add missing attribute validation for tunnel source and
destination ports to the netlink policy.

Fixes: 852303e23a59 ("netfilter: nf_tables: add tunnel support")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_tunnel.c