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

From: Josh Poimboeuf
Date: Wed Oct 17 2018 - 14:23:02 EST


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