kernel_samsung_a53x/drivers/net/ethernet/intel/igb
Yuan Can 801b79eddc igb: Fix potential invalid memory access in igb_init_module()
[ Upstream commit 0566f83d206c7a864abcd741fe39d6e0ae5eef29 ]

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 <yuancan@huawei.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:26 +01:00
..
e1000_82575.c
e1000_82575.h
e1000_defines.h
e1000_hw.h
e1000_i210.c
e1000_i210.h
e1000_mac.c
e1000_mac.h
e1000_mbx.c
e1000_mbx.h
e1000_nvm.c
e1000_nvm.h
e1000_phy.c
e1000_phy.h
e1000_regs.h
igb.h
igb_ethtool.c
igb_hwmon.c
igb_main.c igb: Fix potential invalid memory access in igb_init_module() 2024-12-17 13:24:26 +01:00
igb_ptp.c
Makefile