Author: kevlo Date: Thu Jul 17 05:21:16 2014 New Revision: 268787 URL: http://svnweb.freebsd.org/changeset/base/268787
Log: Deprecate m_act. Use m_nextpkt always. Modified: head/sys/kern/uipc_usrreq.c head/sys/net/if.c head/sys/net/if_spppsubr.c Modified: head/sys/kern/uipc_usrreq.c ============================================================================== --- head/sys/kern/uipc_usrreq.c Thu Jul 17 05:20:18 2014 (r268786) +++ head/sys/kern/uipc_usrreq.c Thu Jul 17 05:21:16 2014 (r268787) @@ -2348,7 +2348,7 @@ unp_scan(struct mbuf *m0, void (*op)(str } } } - m0 = m0->m_act; + m0 = m0->m_nextpkt; } } Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Thu Jul 17 05:20:18 2014 (r268786) +++ head/sys/net/if.c Thu Jul 17 05:21:16 2014 (r268787) @@ -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; Modified: head/sys/net/if_spppsubr.c ============================================================================== --- head/sys/net/if_spppsubr.c Thu Jul 17 05:20:18 2014 (r268786) +++ head/sys/net/if_spppsubr.c Thu Jul 17 05:21:16 2014 (r268787) @@ -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; _______________________________________________ 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"