NET_LOCK_GIANT() when entering network code.
Pointy hat to: glebius Reported by: rodrigc
This commit is contained in:
parent
1cfa2c3d67
commit
012b5a1b92
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user