NET_LOCK_GIANT() when entering network code.

Pointy hat to:	glebius
Reported by:	rodrigc
This commit is contained in:
glebius 2005-07-13 14:06:13 +00:00
parent 1cfa2c3d67
commit 012b5a1b92

View File

@ -2100,9 +2100,11 @@ xl_rxeof_task(void *arg, int pending)
{
struct xl_softc *sc = (struct xl_softc *)arg;
NET_LOCK_GIANT();
XL_LOCK(sc);
xl_rxeof(sc);
XL_UNLOCK(sc);
NET_UNLOCK_GIANT();
}
/*