diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index b4f5f08c921..e79fb3d4d05 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -436,8 +436,10 @@ arpresolve(ifp, rt, m, dst, desten, rt0) * Probably should not allocate empty llinfo struct if we are * not going to be sending out an arp request. */ - if (ifp->if_flags & IFF_NOARP) + if (ifp->if_flags & IFF_NOARP) { + m_freem(m); return (0); + } /* * There is an arptab entry, but no ethernet address * response yet. Replace the held mbuf with this