svn commit: r225130 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Wed Aug 24 06:49:57 UTC 2011
Author: adrian
Date: Wed Aug 24 06:49:57 2011
New Revision: 225130
URL: http://svn.freebsd.org/changeset/base/225130
Log:
Eliminate a dangling bf_next when creating a cloned buf; new
buffers are not part of an aggregate.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath.c Wed Aug 24 05:59:58 2011 (r225129)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c Wed Aug 24 06:49:57 2011 (r225130)
@@ -1922,7 +1922,7 @@ ath_buf_clone(struct ath_softc *sc, cons
return NULL; /* XXX failure? Why? */
/* Copy basics */
- tbf->bf_next = bf->bf_next;
+ tbf->bf_next = NULL;
tbf->bf_nseg = bf->bf_nseg;
tbf->bf_txflags = bf->bf_txflags;
tbf->bf_flags = bf->bf_flags & ~ATH_BUF_BUSY;
More information about the svn-src-user
mailing list