Call tulip_start() rather than tulip_ifstart() from the interrupt handler

to avoid recursing on the driver lock.  Not sure why my test box didn't
catch this earlier.

MFC after:	3 days
This commit is contained in:
jhb 2005-08-09 21:53:26 +00:00
parent 66d9331654
commit 1fa7c54965
2 changed files with 2 additions and 2 deletions

View File

@ -3908,7 +3908,7 @@ tulip_intr_handler(
if (sc->tulip_flags & (TULIP_WANTTXSTART|TULIP_TXPROBE_ACTIVE|TULIP_DOINGSETUP|TULIP_PROMISC)) {
tulip_tx_intr(sc);
if ((sc->tulip_flags & TULIP_TXPROBE_ACTIVE) == 0)
tulip_ifstart(sc->tulip_ifp);
tulip_start(sc);
}
}
if (sc->tulip_flags & TULIP_NEEDRESET) {

View File

@ -3908,7 +3908,7 @@ tulip_intr_handler(
if (sc->tulip_flags & (TULIP_WANTTXSTART|TULIP_TXPROBE_ACTIVE|TULIP_DOINGSETUP|TULIP_PROMISC)) {
tulip_tx_intr(sc);
if ((sc->tulip_flags & TULIP_TXPROBE_ACTIVE) == 0)
tulip_ifstart(sc->tulip_ifp);
tulip_start(sc);
}
}
if (sc->tulip_flags & TULIP_NEEDRESET) {