linux/drivers/net/ethernet/intel
Yuan Can f309733a8c igb: Fix potential invalid memory access in igb_init_module()
[ Upstream commit 0566f83d20 ]

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: bbd98fe48a ("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>
History 2024-12-14 19:59:38 +01:00
..
e1000 intel: legacy: field get conversion 2024-04-10 16:35:56 +02:00
e1000e e1000e: Remove Meteor Lake SMBUS workarounds 2024-11-14 13:19:31 +01:00
fm10k intel: legacy: field get conversion 2024-04-10 16:35:56 +02:00
i40e i40e: fix race condition by adding filter's intermediate sync state 2024-11-14 13:19:31 +01:00
iavf iavf: Fix TC config comparison with existing adapter TC config 2024-05-02 16:32:40 +02:00
ice ice: consistently use q_idx in ice_vc_cfg_qs_msg() 2024-12-09 10:32:03 +01:00
igb igb: Fix potential invalid memory access in igb_init_module() 2024-12-14 19:59:38 +01:00
igbvf intel: legacy: field get conversion 2024-04-10 16:35:56 +02:00
igc igc: Unlock on error in igc_io_resume() 2024-09-12 11:11:33 +02:00
ixgbe ixgbe: downgrade logging of unsupported VF API version to debug 2024-12-14 19:59:38 +01:00
ixgbevf ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5 2024-12-14 19:59:38 +01:00
e100.c e100: Fix possible use after free in e100_xmit_prepare 2022-11-23 08:38:22 -08:00
Kconfig ixgb: Remove ixgb driver 2023-03-19 10:51:07 +00:00
Makefile ixgb: Remove ixgb driver 2023-03-19 10:51:07 +00:00