Skip to content
Commit 1ccc54df authored by Daniel Borkmann's avatar Daniel Borkmann Committed by Sasha Levin
Browse files

selftests/bpf: Add netkit to tc_redirect selftest



[ Upstream commit adfeae2d ]

Extend the existing tc_redirect selftest to also cover netkit devices
for exercising the bpf_redirect_peer() code paths, so that we have both
veth as well as netkit covered, all tests still pass after this change.

Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarStanislav Fomichev <sdf@google.com>
Reviewed-by: default avatarNikolay Aleksandrov <razor@blackwall.org>
Link: https://lore.kernel.org/r/20231114004220.6495-9-daniel@iogearbox.net


Signed-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
Stable-dep-of: 177f1d08 ("selftests/bpf: Fix the flaky tc_redirect_dtime test")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 72f1ba02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment