diff options
author | luigi <luigi@FreeBSD.org> | 2012-08-06 10:50:43 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2012-08-06 10:50:43 +0000 |
commit | b53e8390d6aa61e8b65635cd0606a93b948b7255 (patch) | |
tree | 6e0cf00bf385d77cf2830299c5b836aefb50cea6 /sys/netinet | |
parent | af3a9a01e1b85807a01689273c24f63ed121134a (diff) | |
download | FreeBSD-src-b53e8390d6aa61e8b65635cd0606a93b948b7255.zip FreeBSD-src-b53e8390d6aa61e8b65635cd0606a93b948b7255.tar.gz |
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.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ipfw/ip_fw_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ipfw/ip_fw_log.c b/sys/netinet/ipfw/ip_fw_log.c index 95b8a25..4007125 100644 --- a/sys/netinet/ipfw/ip_fw_log.c +++ b/sys/netinet/ipfw/ip_fw_log.c @@ -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; } |