diff options
| author | 2022-02-04 14:42:36 -0800 | |
|---|---|---|
| committer | 2022-02-05 15:22:44 +0000 | |
| commit | 8fd5522f44dcd7f05454ddc4f16d0f821b676cd9 (patch) | |
| tree | b9899897b9d8687f629833d4ac7d58a3f9239f22 /include/linux/zstd_errors.h | |
| parent | ref_tracker: implement use-after-free detection (diff) | |
| download | linux-dev-8fd5522f44dcd7f05454ddc4f16d0f821b676cd9.tar.xz linux-dev-8fd5522f44dcd7f05454ddc4f16d0f821b676cd9.zip | |
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 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
