Fix a small bug in drbr_dequeue_cond spotted while preparing MFC of r203834.
MFC after: 3 days
This commit is contained in:
parent
754f08a502
commit
d62719cf37
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user