Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2012 08:54:02 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234169 - head/sys/dev/netmap
Message-ID:  <201204120854.q3C8s2XY018577@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204120854.q3C8s2XY018577>