> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of
> Pavan Kumar Linga
> Sent: Thursday, October 5, 2023 12:40 PM
> To: intel-wired-...@lists.osuosl.org
> Cc: Nguyen, Anthony L <anthony.l.ngu...@intel.com>; Linga, Pavan Kumar
> <pavan.kumar.li...@intel.com>; Drewek, Wojciech
> <wojciech.dre...@intel.com>; Tantilov, Emil S <emil.s.tanti...@intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v2] idpf: cancel mailbox work in
> error path
> 
> In idpf_vc_core_init, the mailbox work is queued
> on a mailbox workqueue but it is not cancelled on error.
> This results in a call trace when idpf_mbx_task tries
> to access the freed mailbox queue pointer. Fix it by
> cancelling the mailbox work in the error path.
> 
> Fixes: 4930fbf419a7 ("idpf: add core init and interrupt request")
> Reviewed-by: Wojciech Drewek <wojciech.dre...@intel.com>
> Signed-off-by: Pavan Kumar Linga <pavan.kumar.li...@intel.com>
> ---
> v2:
> - added 'Fixes' tag with the commit id this patch fixes
> 
>  drivers/net/ethernet/intel/idpf/idpf_virtchnl.c | 1 +
>  1 file changed, 1 insertion(+)
> 
Tested-by: Krishneil Singh  <krishneil.k.si...@intel.com>
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

Reply via email to