1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

use FREE_PKT instead of m_freem to free an mbuf.

The former is the standard form used in ipfw/dummynet, so that
it is easier to remap it to different memory managers depending
on the platform.
This commit is contained in:
Luigi Rizzo 2012-08-06 10:50:43 +00:00
parent 55b175e747
commit 00c4633285
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239092

View File

@ -115,7 +115,7 @@ ipfw_log_output(struct ifnet *ifp, struct mbuf *m,
struct sockaddr *dst, struct route *ro)
{
if (m != NULL)
m_freem(m);
FREE_PKT(m);
return EINVAL;
}