diff options
| author | Yang Yingliang <[email protected]> | 2021-12-25 02:51:15 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2022-01-04 12:57:19 +0000 |
| commit | 50a0f3f55e382b313e7cbebdf8ccf1593296e16f (patch) | |
| tree | ab01a2e48db5584faa5ef7e98ab31a5fc5b49bed /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | livepatch: Fix kobject refcount bug on klp_init_patch_early failure path (diff) | |
| download | kernel-50a0f3f55e382b313e7cbebdf8ccf1593296e16f.tar.gz kernel-50a0f3f55e382b313e7cbebdf8ccf1593296e16f.zip | |
livepatch: Fix missing unlock on error in klp_enable_patch()
Add missing unlock when try_module_get() fails in klp_enable_patch().
Fixes: 5ef3dd20555e8e8 ("livepatch: Fix kobject refcount bug on klp_init_patch_early failure path")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Acked-by: David Vernet <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
