]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Fix running of XDP bonding tests
authorJussi Maki <joamaki@gmail.com>
Wed, 11 Aug 2021 12:36:27 +0000 (12:36 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 13 Aug 2021 21:48:16 +0000 (23:48 +0200)
commit9c3bbb92cbacc1c11a615d8abcce7c2bacd2376b
treea42c04b9dc71b092875ced0cd153e4bd6b257a39
parent0b4b1b69f179c0247ac2f10fe53c5e67ba7499f6
selftests/bpf: Fix running of XDP bonding tests

An "innocent" cleanup in the last version of the XDP bonding patchset moved
the "test__start_subtest" calls to the test main function, but I forgot to
reverse the condition, which lead to all tests being skipped. Fix it.

Fixes: 2986a32fa00e ("selftests/bpf: Add tests for XDP bonding")
Signed-off-by: Jussi Maki <joamaki@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210811123627.20223-1-joamaki@gmail.com
tools/testing/selftests/bpf/prog_tests/xdp_bonding.c