mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 14:54:21 -04:00
As explained in PR 277038, iflib calls IFDI_DETACH() and then
IFDI_QUEUES_FREE(). With igc, the latter writes to a register after it
has been unmapped.
igc_if_detach() already calls igc_release_hw_control(), and looking at
callers of igc_if_queues_free(), that appears to be sufficient. So,
just remove the igc_release_hw_control() call.
PR: 277038
Reported by: Mike Belanger <mibelanger@qnx.com>
Reviewed by: kbowling
Tested by: kbowling
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D47293
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| if_igc.c | ||
| if_igc.h | ||
| igc_api.c | ||
| igc_api.h | ||
| igc_base.c | ||
| igc_base.h | ||
| igc_defines.h | ||
| igc_hw.h | ||
| igc_i225.c | ||
| igc_i225.h | ||
| igc_mac.c | ||
| igc_mac.h | ||
| igc_nvm.c | ||
| igc_nvm.h | ||
| igc_osdep.h | ||
| igc_phy.c | ||
| igc_phy.h | ||
| igc_regs.h | ||
| igc_txrx.c | ||