Page MenuHomeFreeBSD

D62221.1796141628.diff
No OneTemporary

Authored By
Unknown
Size
551 B
Referenced Files
None
Subscribers
None

D62221.1796141628.diff

diff --git a/sys/dev/rge/if_rge.c b/sys/dev/rge/if_rge.c
--- a/sys/dev/rge/if_rge.c
+++ b/sys/dev/rge/if_rge.c
@@ -2584,6 +2584,12 @@
sc->sc_watchdog--;
if (sc->sc_watchdog == 0) {
RGE_PRINT_ERROR(sc, "TX timeout (watchdog)\n");
+ /*
+ * rge_init_locked() returns early on a running
+ * interface, so clear the flag or the reset is a
+ * no-op and TX stays wedged until ifconfig down up.
+ */
+ if_setdrvflagbits(sc->sc_ifp, 0, IFF_DRV_RUNNING);
rge_init_locked(sc);
sc->sc_drv_stats.tx_watchdog_timeout_cnt++;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 1, 4:13 PM (22 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42126784
Default Alt Text
D62221.1796141628.diff (551 B)

Event Timeline