From 24df53962eeff7790f35bc7669fc2d978cf92f4a Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Tue, 12 May 2009 03:30:25 +0000 Subject: [PATCH] fix bug introduced by last change Submitted by: Navdeep Parhar --- sys/dev/cxgb/cxgb_multiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgb/cxgb_multiq.c b/sys/dev/cxgb/cxgb_multiq.c index c55c11118a24..9882ca80bb73 100644 --- a/sys/dev/cxgb/cxgb_multiq.c +++ b/sys/dev/cxgb/cxgb_multiq.c @@ -296,7 +296,7 @@ cxgb_pcpu_start_(struct sge_qset *qs, struct mbuf *immpkt, int tx_flush) } stopped = isset(&qs->txq_stopped, TXQ_ETH); - flush = ((drbr_empty(pi->ifp, txq->txq_mr) + flush = ((!drbr_empty(pi->ifp, txq->txq_mr) && !stopped) || txq->immpkt); max_desc = tx_flush ? TX_ETH_Q_SIZE : TX_START_MAX_DESC;