1 2 3 4 5 6 7 8 9 10
--- a/sys/net/tun/if_tun.c +++ b/sys/net/tun/if_tun.c @@ -883,6 +883,7 @@ if (error) { if (top) m_freem(top); + m_freem(m); /* spare MGET from the last iteration */ IFNET_STAT_INC(ifp, ierrors, 1); return (error); }