Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2012 16:03:30 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239234 - head/sys/dev/re
Message-ID:  <201208131603.q7DG3UcZ060874@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Aug 13 16:03:30 2012
New Revision: 239234
URL: http://svn.freebsd.org/changeset/base/239234

Log:
  Use array notation for consistency.

Modified:
  head/sys/dev/re/if_re.c

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c	Mon Aug 13 15:16:25 2012	(r239233)
+++ head/sys/dev/re/if_re.c	Mon Aug 13 16:03:30 2012	(r239234)
@@ -2112,8 +2112,8 @@ re_rxeof(struct rl_softc *sc, int *rx_np
 	ifp = sc->rl_ifp;
 #ifdef DEV_NETMAP
 	if (ifp->if_capenable & IFCAP_NETMAP) {
-		NA(ifp)->rx_rings->nr_kflags |= NKR_PENDINTR;
-		selwakeuppri(&NA(ifp)->rx_rings->si, PI_NET);
+		NA(ifp)->rx_rings[0].nr_kflags |= NKR_PENDINTR;
+		selwakeuppri(&NA(ifp)->rx_rings[0].si, PI_NET);
 		return 0;
 	}
 #endif /* DEV_NETMAP */



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