Re: [PATCH -next] livepatch: Fix missing unlock on error in klp_enable_patch()
From: Petr Mladek
Date: Mon Jan 03 2022 - 08:46:47 EST
On Sat 2021-12-25 10:51:15, Yang Yingliang wrote:
> Add missing unlock when try_module_get() fails in klp_enable_patch().
>
> Fixes: bf01c2975925 ("livepatch: Fix kobject refcount bug on klp_init_patch_early failure path")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
JFYI, the patch has been committed into livepatch.git,
branch for-5.17/fixes.
Best Regards,
Petr