> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Yuan 
> Can
> Sent: 23 October 2024 17:41
> To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw 
> <[email protected]>; [email protected]; [email protected]; 
> [email protected]; [email protected]; [email protected]; 
> [email protected]; [email protected]; 
> [email protected]
> Cc: [email protected]
> Subject: [Intel-wired-lan] [PATCH net v2] igb: Fix potential invalid memory 
> access in igb_init_module()
>
> The pci_register_driver() can fail and when this happened, the dca_notifier 
> needs to be unregistered, otherwise the dca_notifier can be called when igb 
> fails to install, resulting to invalid memory access.
>
> Fixes: bbd98fe48a43 ("igb: Fix DCA errors and do not use context index for 
> 82576")
> Signed-off-by: Yuan Can <[email protected]>
> ---
> Changes since v1:
> - Change fix tag to bbd98fe48a43.
> - Change target branch to net.
> ---
>  drivers/net/ethernet/intel/igb/igb_main.c | 4 ++++
>  1 file changed, 4 insertions(+)
>

Tested-by: Pucha Himasekhar Reddy <[email protected]> (A 
Contingent worker at Intel)

Reply via email to