From 754fe30e12ca62121b3669a732777b6803563355 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Mon, 26 Nov 2007 11:05:58 +0000 Subject: [PATCH] Use m_freem() instead of m_free() --- sys/dev/netif/em/if_em.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/netif/em/if_em.c b/sys/dev/netif/em/if_em.c index c85f29c40b..13f7865ac8 100644 --- a/sys/dev/netif/em/if_em.c +++ b/sys/dev/netif/em/if_em.c @@ -64,7 +64,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sys/dev/netif/em/if_em.c,v 1.60 2007/08/14 13:30:35 sephe Exp $ + * $DragonFly: src/sys/dev/netif/em/if_em.c,v 1.61 2007/11/26 11:05:58 sephe Exp $ * $FreeBSD$ */ /* @@ -2715,7 +2715,7 @@ em_get_buf(int i, struct adapter *adapter, struct mbuf *nmp, int how) mtod(mp, void *), mp->m_len, em_dmamap_cb, &paddr, 0); if (error) { - m_free(mp); + m_freem(mp); return (error); } rx_buffer->m_head = mp; -- 2.11.4.GIT