https://github.com/torvalds/linux
Revision 4853f128c13ed2731625dff2410b7fdbe540fb26 authored by Jiri Pirko on 21 December 2017, 12:13:59 UTC, committed by David S. Miller on 26 December 2017, 18:02:05 UTC
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>
1 parent 0a3d805
History
Tip revision: 4853f128c13ed2731625dff2410b7fdbe540fb26 authored by Jiri Pirko on 21 December 2017, 12:13:59 UTC
net: sched: fix possible null pointer deref in tcf_block_put
Tip revision: 4853f12
File Mode Size
.gitignore -rw-r--r-- 39 bytes
Makefile -rw-r--r-- 2.6 KB

back to top