diff options
author | Cong Wang <[email protected]> | 2018-09-27 13:42:19 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-10-01 23:09:41 -0700 |
commit | 460b360104d51552a57f39e54b2589c9fd7fa0b3 (patch) | |
tree | 84082e01896498cde177e058e72e6509786055bf /tools/perf/scripts/python/syscall-counts.py | |
parent | a1fa80802cb02cb043fd61b87bc81c06a38b4bb1 (diff) |
net_sched: fix a crash in tc_new_tfilter()
When tcf_block_find() fails, it already rollbacks the qdisc refcnt,
so its caller doesn't need to clean up this again. Avoid calling
qdisc_put() again by resetting qdisc to NULL for callers.
Reported-by: [email protected]
Fixes: e368fdb61d8e ("net: sched: use Qdisc rcu API instead of relying on rtnl lock")
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions