Skip to content
Commit f53ea9db authored by Hangbin Liu's avatar Hangbin Liu Committed by Daniel Borkmann
Browse files

selftests/bpf/xdp_redirect_multi: Use arping to accurate the arp number



The arp request number triggered by ping none exist address is not accurate,
which may lead the test false negative/positive. Change to use arping to
accurate the arp number. Also do not use grep pattern match for dot.

Fixes: d2329247 ("selftests/bpf: Add xdp_redirect_multi test")
Suggested-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211027033553.962413-3-liuhangbin@gmail.com
parent 8b4ac13a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment