Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 21:13:57 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193351 - head/sys/dev/ath
Message-ID:  <200906022113.n52LDv1L028627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}



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