Skip to content
Commit af736bf0 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net: sched: potential NULL dereference in tcf_block_find()



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: 18d3eefb ("net: sched: refactor tcf_block_find() into standalone functions")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56b90fa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment