diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-12-21 15:13:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-26 21:02:05 +0300 |
commit | 4853f128c13ed2731625dff2410b7fdbe540fb26 (patch) | |
tree | b58ac455944c25998e868de3e600fa2ca6906417 /include/trace | |
parent | 0a3d805c9c503e05d6e5d3868c53e92a06589dcf (diff) | |
download | linux-4853f128c13ed2731625dff2410b7fdbe540fb26.tar.xz |
net: sched: fix possible null pointer deref in tcf_block_put
We need to check block for being null in both tcf_block_put and
tcf_block_put_ext.
Fixes: 343723dd51ef ("net: sched: fix clsact init error path")
Reported-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions