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

Adrian Chadd adrian at FreeBSD.org
Wed Jun 13 05:41:01 UTC 2012


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;
 	}


More information about the svn-src-head mailing list