Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2009 09:57:18 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192748 - head/sys/netipx
Message-ID:  <200905250957.n4P9vI38018570@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905250957.n4P9vI38018570>