diff options
| author | Jacek Bułatek <[email protected]> | 2021-02-26 21:19:29 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-03-29 17:37:49 +0000 |
| commit | 7a91d3f02b04b2fb18c2dfa8b6c4e5a40a2753f5 (patch) | |
| tree | f18a34bc76aac6daa6c6edb3244612a7a65b9642 /drivers/net/ethernet/intel/ice/ice_ethtool.c | |
| parent | ice: remove DCBNL_DEVRESET bit from PF state (diff) | |
| download | kernel-7a91d3f02b04b2fb18c2dfa8b6c4e5a40a2753f5.tar.gz kernel-7a91d3f02b04b2fb18c2dfa8b6c4e5a40a2753f5.zip | |
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: 9daf8208dd4d ("ice: Add support for switch filter programming")
Signed-off-by: Jacek Bułatek <[email protected]>
Co-developed-by: Haiyue Wang <[email protected]>
Signed-off-by: Haiyue Wang <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ethtool.c')
0 files changed, 0 insertions, 0 deletions
