Re: [PATCH v3] keys: Protect the update method check against type removal
From: Jarkko Sakkinen
Date: Sat Oct 31 2026 - 05:52:23 EST
On Sat, Oct 31, 2026 at 05:26:36PM +0800, Cen Zhang wrote:
> +out_free_preparse:
> if (key->type->preparse)
> key->type->free_preparse(&prep);
> +
> +out:
> + up_write(&key->sem);
> return ret;
> }
> EXPORT_SYMBOL(key_update);
>
> base-commit: 9a2a4c51dccc3168c3dc949fcbaa360a478fa228
> --
> 2.43.0
>
Thanks for taking the trouble addressing this part.
I'll apply it soon'ish.
Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
Br, Jarkko