Skip to content
Commit 7a91d3f0 authored by Jacek Bułatek's avatar Jacek Bułatek Committed by Tony Nguyen
Browse files

ice: Fix for dereference of NULL pointer

Add handling of allocation fault for ice_vsi_list_map_info.

Also *fi should not be NULL pointer, it is a reference to raw
data field, so remove this variable and use the reference
directly.

Fixes: 9daf8208

 ("ice: Add support for switch filter programming")
Signed-off-by: default avatarJacek Bułatek <jacekx.bulatek@intel.com>
Co-developed-by: default avatarHaiyue Wang <haiyue.wang@intel.com>
Signed-off-by: default avatarHaiyue Wang <haiyue.wang@intel.com>
Tested-by: default avatarTony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 741b7b74
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment