diff options
author | 2018-08-09 06:29:00 -0700 | |
---|---|---|
committer | 2018-08-23 11:28:56 -0700 | |
commit | c7f2c42b80ed6009f44e355aefc1e40db9485a9d (patch) | |
tree | a45b97e5aaadd3db57b82becfbc06294f289d680 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ice: Update to interrupts enabled in OICR (diff) | |
download | linux-dev-c7f2c42b80ed6009f44e355aefc1e40db9485a9d.tar.xz linux-dev-c7f2c42b80ed6009f44e355aefc1e40db9485a9d.zip |
ice: Fix a few null pointer dereference issues
1) When ice_ena_msix_range() fails to reserve vectors, a devm_kfree()
warning was seen in the error flow path. So check pf->irq_tracker
before use in ice_clear_interrupt_scheme().
2) In ice_vsi_cfg(), check vsi->netdev before use.
3) In ice_get_link_status, check link_up before use.
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions