diff --git a/sys/net/tun/if_tun.c b/sys/net/tun/if_tun.c --- a/sys/net/tun/if_tun.c +++ b/sys/net/tun/if_tun.c @@ -950,7 +950,7 @@ break; #endif default: - m_freem(m); + m_freem(top); return (EAFNOSUPPORT); }