diff options
author | 2009-10-28 13:33:11 +0000 | |
---|---|---|
committer | 2009-10-28 17:07:54 +0000 | |
commit | 0587da40be78d3704a48d3e9a619183891727f5f (patch) | |
tree | 3a7e889902990c86a3c76abdf4e39c20360af47b /kernel/resource.c | |
parent | kmemleak: Scan the _ftrace_events section in modules (diff) | |
download | wireguard-linux-0587da40be78d3704a48d3e9a619183891727f5f.tar.xz wireguard-linux-0587da40be78d3704a48d3e9a619183891727f5f.zip |
kmemleak: Release the object lock before calling put_object()
The put_object() function may free the object if the use_count
dropped to 0. There shouldn't be further accesses to such object unless
it is known that the use_count is non-zero.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions