summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorXuanqiang Luo <luoxuanqiang@kylinos.cn>2025-04-26 01:26:32 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-29 01:59:13 +0300
commit425c5f266b2edeee0ce16fedd8466410cdcfcfe3 (patch)
tree9f87b302be50002480b1972fcd85e037579e45f9 /lib/mpi/mpi-pow.c
parent3ffcd7b657c9d96eb3ffe174449b4248dd7fc6a9 (diff)
downloadlinux-425c5f266b2edeee0ce16fedd8466410cdcfcfe3.tar.xz
ice: Check VF VSI Pointer Value in ice_vc_add_fdir_fltr()
As mentioned in the commit baeb705fd6a7 ("ice: always check VF VSI pointer values"), we need to perform a null pointer check on the return value of ice_get_vf_vsi() before using it. Fixes: 6ebbe97a4881 ("ice: Add a per-VF limit on number of FDIR filters") Signed-off-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Link: https://patch.msgid.link/20250425222636.3188441-3-anthony.l.nguyen@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions