diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2025-05-08 08:19:07 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-12 18:10:55 -0700 |
commit | 69ea46e7d00ec8b72f0c0c71569a8995bcc171ca (patch) | |
tree | 436b7968cbfdc603177c821e220d579fd57cc537 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 50ad88d57631b368906e6521947c0e8c2a95a895 (diff) |
selftests: net: use setup_ns for bareudp testing
Switch bareudp testing to use setup_ns, which sets up rp_filter by default.
This allows us to remove the manual rp_filter configuration from the script.
Additionally, since setup_ns handles namespace naming and cleanup, we no
longer need a separate cleanup function. We also move the trap setup earlier
in the script, before the test setup begins.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250508081910.84216-4-liuhangbin@gmail.com
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