Index: if.c =================================================================== RCS file: /usr/store/mlaier/fcvs/src/sys/net/if.c,v retrieving revision 1.201 diff -u -r1.201 if.c --- if.c 30 Aug 2004 06:29:26 -0000 1.201 +++ if.c 31 Aug 2004 23:38:36 -0000 @@ -985,6 +985,7 @@ { struct mbuf *m, *n; + IFQ_LOCK(ifq); #ifdef ALTQ if (ALTQ_IS_ENABLED(ifq)) ALTQ_PURGE(ifq); @@ -997,6 +998,7 @@ ifq->ifq_head = 0; ifq->ifq_tail = 0; ifq->ifq_len = 0; + IFQ_UNLOCK(ifq); } /*