diff options
author | 2024-10-23 20:10:48 +0800 | |
---|---|---|
committer | 2024-12-03 10:11:53 -0800 | |
commit | 0566f83d206c7a864abcd741fe39d6e0ae5eef29 (patch) | |
tree | d16eac087c3913ddc9515d047019192f0da96d82 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ixgbe: Correct BASE-BX10 compliance code (diff) | |
download | wireguard-linux-0566f83d206c7a864abcd741fe39d6e0ae5eef29.tar.xz wireguard-linux-0566f83d206c7a864abcd741fe39d6e0ae5eef29.zip |
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 <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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions