aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>2019-08-08 07:39:34 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-09-05 08:13:40 -0700
commitade78c2ec1def21bdaa597d4d01a7d6b9343fa60 (patch)
tree65d92fb7f5f332b97f48016cab536d084517b0bb /tools/perf/scripts/python/stackcollapse.py
parentice: Add ice_get_main_vsi to get PF/main VSI (diff)
downloadlinux-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