diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index 6a24365b28f..eef8a1f2b8a 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -1101,6 +1101,7 @@ em_handle_rxtx(void *context, int pending) struct adapter *adapter = context; struct ifnet *ifp; + NET_LOCK_GIANT(); ifp = adapter->ifp; /* @@ -1120,7 +1121,7 @@ em_handle_rxtx(void *context, int pending) } em_enable_intr(adapter); - return; + NET_UNLOCK_GIANT(); } #endif