Commit 7c969106 authored by Saket Kumar Bhaskar's avatar Saket Kumar Bhaskar Committed by Greg Kroah-Hartman
Browse files

selftests/bpf: Fix bpf_nf selftest failure



[ Upstream commit 967e8def ]

For systems with missing iptables-legacy tool this selftest fails.

Add check to find if iptables-legacy tool is available and skip the
test if the tool is missing.

Fixes: de9c8d84 ("selftests/bpf: S/iptables/iptables-legacy/ in the bpf_nf and xdp_synproxy test")
Signed-off-by: default avatarSaket Kumar Bhaskar <skb99@linux.ibm.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250409095633.33653-1-skb99@linux.ibm.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b524baec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment