diff options
author | Amit Cohen <amcohen@nvidia.com> | 2021-06-08 15:44:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-08 14:39:07 -0700 |
commit | e67dfb8d15deb33c425d0b0ee22f2e5eef54c162 (patch) | |
tree | fd33a910ddff0aeaafad769ec320630f05aaf9c7 /net/lapb/lapb_out.c | |
parent | 00190c2b19eb33969befb68bbbc6d00edc11bda5 (diff) |
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 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions