svn commit: r259503 - head/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Tue Dec 17 10:53:18 UTC 2013
Author: ae
Date: Tue Dec 17 10:53:17 2013
New Revision: 259503
URL: http://svnweb.freebsd.org/changeset/base/259503
Log:
Free mbuf in case of error.
MFC after: 1 week
Modified:
head/sys/netinet6/send.c
Modified: head/sys/netinet6/send.c
==============================================================================
--- head/sys/netinet6/send.c Tue Dec 17 10:33:27 2013 (r259502)
+++ head/sys/netinet6/send.c Tue Dec 17 10:53:17 2013 (r259503)
@@ -163,6 +163,7 @@ send_output(struct mbuf *m, struct ifnet
nd6_ra_input(m, sizeof(struct ip6_hdr), icmp6len);
break;
default:
+ m_freem(m);
return (ENOSYS);
}
return (0);
More information about the svn-src-head
mailing list