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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to