diff options
author | 2025-03-04 15:32:03 -0800 | |
---|---|---|
committer | 2025-03-06 15:41:37 -0800 | |
commit | f9d2f5ddd47cd4e8092b0dc1d4cc488d27e5e191 (patch) | |
tree | ed1623040ac917cf4c39c3e4af759d193df1a088 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: clamp window like before the cleanup (diff) | |
download | linux-rng-f9d2f5ddd47cd4e8092b0dc1d4cc488d27e5e191.tar.xz linux-rng-f9d2f5ddd47cd4e8092b0dc1d4cc488d27e5e191.zip |
selftests: net: fix error message in bpf_offload
We hit a following exception on timeout, nmaps is never set:
Test bpftool bound info reporting (own ns)...
Traceback (most recent call last):
File "/home/virtme/testing-1/tools/testing/selftests/net/./bpf_offload.py", line 1128, in <module>
check_dev_info(False, "")
File "/home/virtme/testing-1/tools/testing/selftests/net/./bpf_offload.py", line 583, in check_dev_info
maps = bpftool_map_list_wait(expected=2, ns=ns)
File "/home/virtme/testing-1/tools/testing/selftests/net/./bpf_offload.py", line 215, in bpftool_map_list_wait
raise Exception("Time out waiting for map counts to stabilize want %d, have %d" % (expected, nmaps))
NameError: name 'nmaps' is not defined
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250304233204.1139251-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions