commit | 8fd5522f44dcd7f05454ddc4f16d0f821b676cd9 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Feb 04 14:42:36 2022 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 05 15:22:44 2022 +0000 |
tree | b9899897b9d8687f629833d4ac7d58a3f9239f22 | |
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>