From owner-svn-src-user@FreeBSD.ORG Wed Aug 24 06:49:57 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75D30106564A; Wed, 24 Aug 2011 06:49:57 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6614E8FC13; Wed, 24 Aug 2011 06:49:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p7O6nvak037429; Wed, 24 Aug 2011 06:49:57 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p7O6nvPV037427; Wed, 24 Aug 2011 06:49:57 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201108240649.p7O6nvPV037427@svn.freebsd.org> From: Adrian Chadd Date: Wed, 24 Aug 2011 06:49:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225130 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 06:49:57 -0000 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;