svn commit: r243303 - stable/9/sys/dev/re

Ed Maste emaste at FreeBSD.org
Mon Nov 19 19:26:59 UTC 2012


Author: emaste
Date: Mon Nov 19 19:26:59 2012
New Revision: 243303
URL: http://svnweb.freebsd.org/changeset/base/243303

Log:
  MFC r239234: Use array notation for consistency.

Modified:
  stable/9/sys/dev/re/if_re.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/re/if_re.c
==============================================================================
--- stable/9/sys/dev/re/if_re.c	Mon Nov 19 19:26:19 2012	(r243302)
+++ stable/9/sys/dev/re/if_re.c	Mon Nov 19 19:26:59 2012	(r243303)
@@ -2111,8 +2111,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 */


More information about the svn-src-stable-9 mailing list