Deprecate m_act. Use m_nextpkt always.

This commit is contained in:
Kevin Lo 2014-07-17 05:21:16 +00:00
parent cd81b88d5c
commit c29a33213b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268787
3 changed files with 3 additions and 3 deletions

View file

@ -2348,7 +2348,7 @@ unp_scan(struct mbuf *m0, void (*op)(struct filedescent **, int))
}
}
}
m0 = m0->m_act;
m0 = m0->m_nextpkt;
}
}

View file

@ -2087,7 +2087,7 @@ if_qflush(struct ifnet *ifp)
#endif
n = ifq->ifq_head;
while ((m = n) != 0) {
n = m->m_act;
n = m->m_nextpkt;
m_freem(m);
}
ifq->ifq_head = 0;

View file

@ -4753,7 +4753,7 @@ sppp_qflush(struct ifqueue *ifq)
n = ifq->ifq_head;
while ((m = n)) {
n = m->m_act;
n = m->m_nextpkt;
m_freem (m);
}
ifq->ifq_head = 0;