From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Mon, 18 Feb 2019 12:26:32 +0300 > 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 <dan.carpenter@xxxxxxxxxx> Applied, thanks.