mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Fix a small bug in drbr_dequeue_cond spotted while preparing MFC of r203834.
MFC after: 3 days
This commit is contained in:
parent
071c17cede
commit
4c71aa5890
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205197
@ -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…
Reference in New Issue
Block a user