nfe(4) driver bug
Paul A. Patience
paul-a.patience at polymtl.ca
Tue Sep 17 02:36:03 UTC 2013
Hello,
I was reading the nfe(4) driver and noticed a bug.
rx_broadcast should in fact be tx_broadcast:
@@ -3260,7 +3260,7 @@
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);
}
}
--
pap
More information about the freebsd-drivers
mailing list