]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_tunnel: restrict it to netdev family
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 21 Aug 2022 14:32:44 +0000 (16:32 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 24 Aug 2022 05:43:21 +0000 (07:43 +0200)
commit95beda42a717f5c2d1e030f2bfb563e45466ce2a
tree76b8a70dfde2ef95bf307aeee984dddb00051970
parent2e4d1a77d3ec5623f3a6351e819ecc58c1295ae4
netfilter: nft_tunnel: restrict it to netdev family

Only allow to use this expression from NFPROTO_NETDEV family.

Fixes: c5772b556846 ("netfilter: nf_tables: add tunnel support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_tunnel.c