svn commit: r200965 - head/sys/dev/ste

Pyun YongHyeon yongari at FreeBSD.org
Thu Dec 24 20:43:31 UTC 2009


Author: yongari
Date: Thu Dec 24 20:43:31 2009
New Revision: 200965
URL: http://svn.freebsd.org/changeset/base/200965

Log:
  Update if_iqdrops in case of RX buffer allocation failure.

Modified:
  head/sys/dev/ste/if_ste.c

Modified: head/sys/dev/ste/if_ste.c
==============================================================================
--- head/sys/dev/ste/if_ste.c	Thu Dec 24 20:36:37 2009	(r200964)
+++ head/sys/dev/ste/if_ste.c	Thu Dec 24 20:43:31 2009	(r200965)
@@ -798,7 +798,7 @@ ste_rxeof(struct ste_softc *sc, int coun
 		 * can do in this situation.
 		 */
 		if (ste_newbuf(sc, cur_rx) != 0) {
-			ifp->if_ierrors++;
+			ifp->if_iqdrops++;
 			cur_rx->ste_ptr->ste_status = 0;
 			continue;
 		}


More information about the svn-src-all mailing list