aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2018-08-23 23:36:00 +0200
committerOlof Johansson <[email protected]>2018-09-25 13:57:25 -0700
commit64e9e22e68512da8df3c9a7430f07621e48db3c2 (patch)
tree584df8f3b1e15ed9103c26cd146be64b83e8fbef /tools/perf/scripts/python/netdev-times.py
parent1a677ff4ce6acc3bdb2d01bb25eb687a6e28aa1d (diff)
soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
If the qman driver didn't probe, calling qman_alloc_fqid_range, qman_alloc_pool_range or qman_alloc_cgrid_range (as done in dpaa_eth) will pass a NULL pointer to gen_pool_alloc, leading to a NULL pointer dereference. Signed-off-by: Alexandre Belloni <[email protected]> Reviewed-by: Roy Pledge <[email protected]> Signed-off-by: Li Yang <[email protected]> (cherry picked from commit f72487a2788aa70c3aee1d0ebd5470de9bac953a) Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions