diff options
author | Anirudh Venkataramanan | 2018-08-09 15:29:00 +0200 |
---|---|---|
committer | Jeff Kirsher | 2018-08-23 20:28:56 +0200 |
commit | c7f2c42b80ed6009f44e355aefc1e40db9485a9d (patch) | |
tree | a45b97e5aaadd3db57b82becfbc06294f289d680 /net/Makefile | |
parent | ice: Update to interrupts enabled in OICR (diff) | |
download | kernel-qcow2-linux-c7f2c42b80ed6009f44e355aefc1e40db9485a9d.tar.gz kernel-qcow2-linux-c7f2c42b80ed6009f44e355aefc1e40db9485a9d.tar.xz kernel-qcow2-linux-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 'net/Makefile')
0 files changed, 0 insertions, 0 deletions