Re: [PATCH net v3 11/14] net: pse-pd: free the notification kfifo when registration fails

From: Kory Maincent

Date: Wed Nov 04 2026 - 10:41:25 EST


On Tue, 03 Nov 2026 23:02:14 +0100, Carlo Szelinsky <github@xxxxxxxxxxxx> wrote:
> When pse_controller_register() fails after it allocated the
> notification kfifo, it returns without freeing it.
>
> Free the kfifo on every error path.
>
> Found by code inspection and AI review.
>
> [...]

Reviewed-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>

--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com