From 4c71aa5890430458f6e33680dd3766d71c469be5 Mon Sep 17 00:00:00 2001 From: Max Laier Date: Mon, 15 Mar 2010 21:15:03 +0000 Subject: [PATCH] Fix a small bug in drbr_dequeue_cond spotted while preparing MFC of r203834. MFC after: 3 days --- sys/net/if_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 4127069641a4..fbca8ad5c39b 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -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); }