diff options
author | Eric Dumazet | 2022-02-04 14:42:36 -0800 |
---|---|---|
committer | David S. Miller | 2022-02-05 15:22:44 +0000 |
commit | 8fd5522f44dcd7f05454ddc4f16d0f821b676cd9 (patch) | |
tree | b9899897b9d8687f629833d4ac7d58a3f9239f22 /lib/842/842_debugfs.h | |
parent | e3ececfe668facd87d920b608349a32607060e66 (diff) |
ref_tracker: add a count of untracked references
We are still chasing a netdev refcount imbalance, and we suspect
we have one rogue dev_put() that is consuming a reference taken
from a dev_hold_track()
To detect this case, allow ref_tracker_alloc() and ref_tracker_free()
to be called with a NULL @trackerp parameter, and use a dedicated
refcount_t just for them.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/842/842_debugfs.h')
0 files changed, 0 insertions, 0 deletions