Free mbuf in case of error.
MFC after: 1 week
This commit is contained in:
parent
4f1c67053f
commit
569aad57d2
@ -163,6 +163,7 @@ send_output(struct mbuf *m, struct ifnet *ifp, int direction)
|
||||
nd6_ra_input(m, sizeof(struct ip6_hdr), icmp6len);
|
||||
break;
|
||||
default:
|
||||
m_freem(m);
|
||||
return (ENOSYS);
|
||||
}
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user