svn commit: r255959 - in stable: 8/sys/dev/nfe 9/sys/dev/nfe

Xin LI delphij at FreeBSD.org
Tue Oct 1 00:49:58 UTC 2013


Author: delphij
Date: Tue Oct  1 00:49:57 2013
New Revision: 255959
URL: http://svnweb.freebsd.org/changeset/base/255959

Log:
  MFC r255648:
  
  Fix a typo when accounting for tx_broadcast statistics.
  
  Submitted by:	Paul A. Patience <paul-a patience polymtl ca>

Modified:
  stable/9/sys/dev/nfe/if_nfe.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/8/sys/dev/nfe/if_nfe.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/nfe/   (props changed)

Modified: stable/9/sys/dev/nfe/if_nfe.c
==============================================================================
--- stable/9/sys/dev/nfe/if_nfe.c	Mon Sep 30 21:26:03 2013	(r255958)
+++ stable/9/sys/dev/nfe/if_nfe.c	Tue Oct  1 00:49:57 2013	(r255959)
@@ -3261,7 +3261,7 @@ nfe_stats_update(struct nfe_softc *sc)
 	if ((sc->nfe_flags & NFE_MIB_V3) != 0) {
 		stats->tx_unicast += NFE_READ(sc, NFE_TX_UNICAST);
 		stats->tx_multicast += NFE_READ(sc, NFE_TX_MULTICAST);
-		stats->rx_broadcast += NFE_READ(sc, NFE_TX_BROADCAST);
+		stats->tx_broadcast += NFE_READ(sc, NFE_TX_BROADCAST);
 	}
 }
 


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