From 3f70ebbf05afa21cee2f8847cf868ee5df83b7e3 Mon Sep 17 00:00:00 2001 From: Oleg Bulyzhin <oleg@FreeBSD.org> Date: Wed, 16 Sep 2015 10:07:45 +0000 Subject: [PATCH] Remove superfluous m_freem(). MFC after: 1 month --- sys/net/if_ethersubr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 18429303b10a..862d25948692 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -499,7 +499,6 @@ ether_input_internal(struct ifnet *ifp, struct mbuf *m) if_printf(ifp, "cannot pullup VLAN header\n"); #endif if_inc_counter(ifp, IFCOUNTER_IERRORS, 1); - m_freem(m); CURVNET_RESTORE(); return; }