svn commit: r192748 - head/sys/netipx

Robert Watson rwatson at FreeBSD.org
Mon May 25 09:57:19 UTC 2009


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;


More information about the svn-src-all mailing list