svn commit: r268787 - in head/sys: kern net
Kevin Lo
kevlo at FreeBSD.org
Thu Jul 17 05:21:17 UTC 2014
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;
More information about the svn-src-head
mailing list