Fix a small bug in drbr_dequeue_cond spotted while preparing MFC of r203834.

MFC after:	3 days
This commit is contained in:
mlaier 2010-03-15 21:15:03 +00:00
parent 754f08a502
commit d62719cf37

View File

@ -645,7 +645,7 @@ drbr_dequeue_cond(struct ifnet *ifp, struct buf_ring *br,
IFQ_UNLOCK(&ifp->if_snd);
return (NULL);
}
IFQ_DEQUEUE(&ifp->if_snd, m);
IFQ_DEQUEUE_NOLOCK(&ifp->if_snd, m);
IFQ_UNLOCK(&ifp->if_snd);
return (m);
}