Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 05:41:00 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236994 - head/sys/dev/ath
Message-ID:  <201206130541.q5D5f0Rw098872@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Jun 13 05:41:00 2012
New Revision: 236994
URL: http://svn.freebsd.org/changeset/base/236994

Log:
  Oops, return the newly allocated buffer to the queue, not the completed
  buffer.
  
  PR:	kern/168170

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

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Wed Jun 13 05:39:16 2012	(r236993)
+++ head/sys/dev/ath/if_ath_tx.c	Wed Jun 13 05:41:00 2012	(r236994)
@@ -3137,7 +3137,7 @@ ath_tx_retry_clone(struct ath_softc *sc,
 		 * the list.)
 		 */
 		ATH_TXBUF_LOCK(sc);
-		ath_returnbuf_head(sc, bf);
+		ath_returnbuf_head(sc, nbf);
 		ATH_TXBUF_UNLOCK(sc);
 		return NULL;
 	}



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