summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2021-06-08 15:44:09 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-09 00:39:07 +0300
commite67dfb8d15deb33c425d0b0ee22f2e5eef54c162 (patch)
treefd33a910ddff0aeaafad769ec320630f05aaf9c7 /tools/perf/scripts/python/net_dropmonitor.py
parent00190c2b19eb33969befb68bbbc6d00edc11bda5 (diff)
downloadlinux-e67dfb8d15deb33c425d0b0ee22f2e5eef54c162.tar.xz
selftests: Clean forgotten resources as part of cleanup()
Several tests do not set some ports down as part of their cleanup(), resulting in IPv6 link-local addresses and associated routes not being deleted. These leaks were found using a BPF tool that monitors ASIC resources. Solve this by setting the ports down at the end of the tests. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions