fixup! ice: fix concurrent reset and removal of VFs
Subsystems (2)
PATCH 1/1 fixup! ice: fix concurrent reset and removal of VFs
One call to ice_vc_reset_vf failed to grab the VF cfg_lock. Add the missing mutex_lock/unlock to ice_vf_lan_overflow_event.
Signed-off-by Jacob Keller <[email protected]>
--- drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c +2 -0
@@ -2150,7 +2150,9 @@ ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event)if (!vf)return ; +mutex_lock (&vf->cfg_lock);ice_vc_reset_vf (vf); +mutex_unlock (&vf->cfg_lock); }/**
base-commit: 967260db57d52ff5e97dc07407aeeb014653b969
Signature · 4 lines
Noticed this gap while reviewing other refactor work I am planning on. Tony, can you squash this into the relevant commit? Thanks. 2.35.1.129.gb80121027d12