diff options
| author | Yuan Can <yuancan@huawei.com> | 2024-10-23 20:10:48 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:03:07 +0100 |
| commit | 992fd34122de377b45cb75b64fc7f17fc1e6ed2f (patch) | |
| tree | 9a27058ce144a4e070607537badbc9a5b459cd95 /include/net | |
| parent | f017f37387f777270f08b1e616d3de10319e4f3c (diff) | |
| download | linux-992fd34122de377b45cb75b64fc7f17fc1e6ed2f.tar.gz linux-992fd34122de377b45cb75b64fc7f17fc1e6ed2f.tar.bz2 linux-992fd34122de377b45cb75b64fc7f17fc1e6ed2f.zip | |
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
