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;
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to