Subject: Re: [PATCH net-next] net: sched: potential NULL dereference in tcf_block_find()

From: Vlad Buslov <[email-masked]>
Date: Mon, 18 Feb 2019 12:26:35 +0000

On Mon 18 Feb 2019 at 09:26, Dan Carpenter <[email-masked]> wrote:
> The error code isn't set on this path so it would result in returning
> ERR_PTR(0) and a NULL dereference in the caller.
>
> Fixes: 18d3eefb17cf ("net: sched: refactor tcf_block_find() into standalone functions")
> Signed-off-by: Dan Carpenter <[email-masked]>

Hi Dan,

Thank you for finding and fixing this!

Regards,
Vlad