summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2021-10-27 11:35:53 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-11-05 16:42:56 +0100
commit8955c1a329873385775081e029d9a7c6aa9037e1 (patch)
tree9460abe59756d80b2efaebd1154387e8e0901ac1 /arch
parent648c3677062fbd14d754b853daebb295426771e8 (diff)
downloadlinux-stable-8955c1a329873385775081e029d9a7c6aa9037e1.tar.gz
linux-stable-8955c1a329873385775081e029d9a7c6aa9037e1.tar.bz2
linux-stable-8955c1a329873385775081e029d9a7c6aa9037e1.zip
selftests/bpf/xdp_redirect_multi: Limit the tests in netns
As I want to test both DEVMAP and DEVMAP_HASH in XDP multicast redirect, I limited DEVMAP max entries to a small value for performace. When the test runs after amount of interface creating/deleting tests. The interface index will exceed the map max entries and xdp_redirect_multi will error out with "Get interfacesInterface index to large". Fix this issue by limit the tests in netns and specify the ifindex when creating interfaces. Fixes: d23292476297 ("selftests/bpf: Add xdp_redirect_multi test") Reported-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211027033553.962413-5-liuhangbin@gmail.com
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions