Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Fixed mbuf leak possibility.
details: https://anonhg.NetBSD.org/src/rev/eb1e835a52c0
branches: trunk
changeset: 758016:eb1e835a52c0
user: oki <oki%NetBSD.org@localhost>
date: Thu Oct 14 03:34:42 2010 +0000
description:
Fixed mbuf leak possibility.
diffstat:
sys/netinet6/ip6_mroute.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6f565af69a20 -r eb1e835a52c0 sys/netinet6/ip6_mroute.c
--- a/sys/netinet6/ip6_mroute.c Thu Oct 14 03:07:51 2010 +0000
+++ b/sys/netinet6/ip6_mroute.c Thu Oct 14 03:34:42 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_mroute.c,v 1.99 2010/07/27 13:59:40 jakllsch Exp $ */
+/* $NetBSD: ip6_mroute.c,v 1.100 2010/10/14 03:34:42 oki Exp $ */
/* $KAME: ip6_mroute.c,v 1.49 2001/07/25 09:21:18 jinmei Exp $ */
/*
@@ -117,7 +117,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.99 2010/07/27 13:59:40 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.100 2010/10/14 03:34:42 oki Exp $");
#include "opt_inet.h"
#include "opt_mrouting.h"
@@ -567,7 +567,7 @@
for (rte = rt->mf6c_stall; rte != NULL; ) {
struct rtdetq *n = rte->next;
- m_free(rte->m);
+ m_freem(rte->m);
free(rte, M_MRTABLE);
rte = n;
}
Home |
Main Index |
Thread Index |
Old Index