]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfac28eff8a02767ddfcde99f8cbcceaed092781d
tree7e63c1e285e3fc29cb0b3befcba9656d1b43ff30
parentb1727d307185d110091b1a1857ea30aba4f44778
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