selftests: net: fib_nexthops: add test for group refcount imbalance bug
authorNikolay Aleksandrov <nikolay@nvidia.com>
Mon, 22 Nov 2021 15:15:14 +0000 (17:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2021 15:44:49 +0000 (15:44 +0000)
commit02ebe49ab06111a887202959e4d58a3cf252b5ee
tree7e63c1e285e3fc29cb0b3befcba9656d1b43ff30
parent1005f19b9357b81aa64e1decd08d6e332caaa284
selftests: net: fib_nexthops: add test for group refcount imbalance bug

The new selftest runs a sequence which causes circular refcount
dependency between deleted objects which cannot be released and results
in a netdevice refcount imbalance.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthops.sh