Skip to content
Commit 78f1b04f authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'tcf_foo_init-NULL-deref'



Davide Caratti says:

====================
net/sched: fix NULL dereference in the error path of .init()

with several TC actions it's possible to see NULL pointer dereference,
when the .init() function calls tcf_idr_alloc(), fails at some point and
then calls tcf_idr_release(): this series fixes all them introducing
non-NULL tests in the .cleanup() function.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents f9db5069 2d433610
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment