Re: [PATCH v13 04/12] livepatch: Consolidate klp_free functions

Josh Poimboeuf
2018-10-17T18:23:02Z

On Mon, Oct 15, 2018 at 02:37:05PM +0200, Petr Mladek wrote:
> @@ -637,6 +647,7 @@ static int klp_init_patch(struct klp_patch *patch)
> mutex_lock(&klp_mutex);
>
> patch->enabled = false;
> + INIT_LIST_HEAD(&patch->list);

Is this a bug fix? If so, it should go in a separate patch. I'm
wondering how this worked before.

--
Josh