diff options
author | Jiri Pirko <[email protected]> | 2017-12-15 12:40:12 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-15 15:43:12 -0500 |
commit | 343723dd51ef1025a860e54df9472b5ba21ee3d9 (patch) | |
tree | 6611f40a0342dca4fad113db640e0371471f8f62 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | c05fad5713b81b049ec6ac4eb2d304030b1efdce (diff) |
net: sched: fix clsact init error path
Since in qdisc_create, the destroy op is called when init fails, we
don't do cleanup in init and leave it up to destroy.
This fixes use-after-free when trying to put already freed block.
Fixes: 6e40cf2d4dee ("net: sched: use extended variants of block_get/put in ingress and clsact qdiscs")
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions