diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-06-14 11:06:56 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-06-15 03:13:17 +0200 |
commit | 47cf52a246e526e2092d60ac01c54af9bd45dcc9 (patch) | |
tree | 9b546d89e5d9a00bcd2a1af045095a541216267f /.clang-format | |
parent | 07480cbc05ef1ff7301cb11afb7d894ad3d0916a (diff) |
selftests/bpf: test offloads even with BPF programs present
Modern distroes increasingly make use of BPF programs. Default
Ubuntu 18.04 installation boots with a number of cgroup_skb
programs loaded.
test_offloads.py tries to check if programs and maps are not
leaked on error paths by confirming the list of programs on the
system is empty between tests.
Since we can no longer expect the system to have no BPF objects
at boot try to remember the programs and maps present at the start,
and skip those when scanning the system.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions