Author: luigi
Date: Thu Apr 12 08:54:01 2012
New Revision: 234169
URL: http://svn.freebsd.org/changeset/base/234169

Log:
  use correct selinfo pointer for the generic interrupt handler
  (it is never used in current FreeBSD drivers).

Modified:
  head/sys/dev/netmap/netmap.c

Modified: head/sys/dev/netmap/netmap.c
==============================================================================
--- head/sys/dev/netmap/netmap.c        Thu Apr 12 08:38:56 2012        
(r234168)
+++ head/sys/dev/netmap/netmap.c        Thu Apr 12 08:54:01 2012        
(r234169)
@@ -1667,10 +1667,10 @@ netmap_rx_irq(struct ifnet *ifp, int q, 
        if (work_done) { /* RX path */
                r = na->rx_rings + q;
                r->nr_kflags |= NKR_PENDINTR;
-               main_wq = (na->num_rx_queues > 1) ? &na->tx_si : NULL;
+               main_wq = (na->num_rx_queues > 1) ? &na->rx_si : NULL;
        } else { /* tx path */
                r = na->tx_rings + q;
-               main_wq = (na->num_tx_queues > 1) ? &na->rx_si : NULL;
+               main_wq = (na->num_tx_queues > 1) ? &na->tx_si : NULL;
                work_done = &q; /* dummy */
        }
        if (na->separate_locks) {
_______________________________________________
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