Prefer m_nextpkt to m_act when iterating mbuf queues.
MFC after: 1 month
This commit is contained in:
parent
de9b6ef979
commit
90176d9c2d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user