1 2 3 4 5 6 7 8 9 10 11 12
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); }