diff options
author | 2019-08-08 07:39:34 -0700 | |
---|---|---|
committer | 2019-09-05 08:13:40 -0700 | |
commit | ade78c2ec1def21bdaa597d4d01a7d6b9343fa60 (patch) | |
tree | 65d92fb7f5f332b97f48016cab536d084517b0bb /tools/perf/scripts/python/stackcollapse.py | |
parent | ice: Add ice_get_main_vsi to get PF/main VSI (diff) | |
download | linux-dev-ade78c2ec1def21bdaa597d4d01a7d6b9343fa60.tar.xz linux-dev-ade78c2ec1def21bdaa597d4d01a7d6b9343fa60.zip |
ice: Check root pointer for validity
ice_sched_get_tc_node uses pi->root without checking for NULL. Add a
check to prevent NULL pointer dereference.
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions