svn commit: r193351 - head/sys/dev/ath

Sam Leffler sam at FreeBSD.org
Tue Jun 2 21:13:58 UTC 2009


Author: sam
Date: Tue Jun  2 21:13:57 2009
New Revision: 193351
URL: http://svn.freebsd.org/changeset/base/193351

Log:
  count frag tx failures as an ifnet error

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Tue Jun  2 21:12:07 2009	(r193350)
+++ head/sys/dev/ath/if_ath.c	Tue Jun  2 21:13:57 2009	(r193351)
@@ -1820,6 +1820,7 @@ ath_start(struct ifnet *ifp)
 			DPRINTF(sc, ATH_DEBUG_XMIT,
 			    "%s: out of txfrag buffers\n", __func__);
 			sc->sc_stats.ast_tx_nofrag++;
+			ifp->if_oerrors++;
 			ath_freetx(m);
 			goto bad;
 		}


More information about the svn-src-all mailing list