Author: kmacy
Date: Tue May 12 03:30:25 2009
New Revision: 192009
URL: http://svn.freebsd.org/changeset/base/192009

Log:
  fix bug introduced by last change
  
  Submitted by: Navdeep Parhar

Modified:
  head/sys/dev/cxgb/cxgb_multiq.c

Modified: head/sys/dev/cxgb/cxgb_multiq.c
==============================================================================
--- head/sys/dev/cxgb/cxgb_multiq.c     Tue May 12 02:17:25 2009        
(r192008)
+++ head/sys/dev/cxgb/cxgb_multiq.c     Tue May 12 03:30:25 2009        
(r192009)
@@ -296,7 +296,7 @@ cxgb_pcpu_start_(struct sge_qset *qs, st
        }
 
        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;
        
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to