From owner-svn-src-head@FreeBSD.ORG Mon May 25 09:57:18 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 659131065670; Mon, 25 May 2009 09:57:18 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5228E8FC13; Mon, 25 May 2009 09:57:18 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4P9vIbI018571; Mon, 25 May 2009 09:57:18 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4P9vI38018570; Mon, 25 May 2009 09:57:18 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200905250957.n4P9vI38018570@svn.freebsd.org> From: Robert Watson Date: Mon, 25 May 2009 09:57:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192748 - head/sys/netipx X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 09:57:19 -0000 Author: rwatson Date: Mon May 25 09:57:18 2009 New Revision: 192748 URL: http://svn.freebsd.org/changeset/base/192748 Log: Prefer m_nextpkt to m_act when iterating mbuf queues. MFC after: 1 month Modified: head/sys/netipx/spx_usrreq.c Modified: head/sys/netipx/spx_usrreq.c ============================================================================== --- head/sys/netipx/spx_usrreq.c Mon May 25 09:52:58 2009 (r192747) +++ head/sys/netipx/spx_usrreq.c Mon May 25 09:57:18 2009 (r192748) @@ -673,7 +673,7 @@ send: si = 0; if (len > 0) { cb->s_want = cb->s_snxt; - for (m = sb->sb_mb; m != NULL; m = m->m_act) { + for (m = sb->sb_mb; m != NULL; m = m->m_nextpkt) { si = mtod(m, struct spx *); if (SSEQ_LEQ(cb->s_snxt, si->si_seq)) break;