Prefer m_nextpkt to m_act when iterating mbuf queues.

MFC after:	1 month
This commit is contained in:
rwatson 2009-05-25 09:57:18 +00:00
parent de9b6ef979
commit 90176d9c2d

View File

@ -673,7 +673,7 @@ spx_output(struct spxpcb *cb, struct mbuf *m0)
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;