netfilter: nft_compat: fix bridge family target evaluation
Subsystems (2)
Florian Westphal
maintainerPATCH 1/1 netfilter: nft_compat: fix bridge family target evaluation
This always evals to true, so all packets get dropped in the ebtables compat layer. ip(6)tables is fine.
Reported-by kernel test robot <[email protected]>
Fixes 6d6dbfe7fe1e6e1 ("netfilter: nf_tables: remove xt_action_param from nft_pktinfo")
Signed-off-by Florian Westphal <[email protected]>
---
Pablo, feel free to squash if you prefer that.
net/netfilter/nft_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/netfilter/nft_compat.c +1 -1
@@ -110,7 +110,7 @@ static void nft_target_eval_bridge(const struct nft_expr *expr, ret = target->target (skb, &xt); -if (&xt.hotdrop) +if (xt.hotdrop) ret =NF_DROP ;switch (ret) {
Signature · 1 line
2.31.1
Pablo Neira Ayuso
maintainerQuoted 8 lines · Florian Westphal
This always evals to true, so all packets get dropped in the ebtables compat layer. ip(6)tables is fine.
Reported-by kernel test robot <[email protected]>Fixes 6d6dbfe7fe1e6e1 ("netfilter: nf_tables: remove xt_action_param from nft_pktinfo")Signed-off-by Florian Westphal <[email protected]>---
Pablo, feel free to squash if you prefer that.
Squashed, thanks.