Author: luigi Date: Mon Aug 6 10:50:43 2012 New Revision: 239092 URL: http://svn.freebsd.org/changeset/base/239092
Log: 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. Modified: head/sys/netinet/ipfw/ip_fw_log.c Modified: head/sys/netinet/ipfw/ip_fw_log.c ============================================================================== --- head/sys/netinet/ipfw/ip_fw_log.c Mon Aug 6 10:50:23 2012 (r239091) +++ head/sys/netinet/ipfw/ip_fw_log.c Mon Aug 6 10:50:43 2012 (r239092) @@ -115,7 +115,7 @@ ipfw_log_output(struct ifnet *ifp, struc struct sockaddr *dst, struct route *ro) { if (m != NULL) - m_freem(m); + FREE_PKT(m); return EINVAL; } _______________________________________________ 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"