summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-01-31 17:23:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-01-31 17:23:35 +0000
commited445cc242f54511cc5eb7452ddae8f119606cc5 (patch)
tree5d934bad62bd35dfb131aad2332431f07e4cf339 /sys
parent06411e0cbe5f45be876dcf54a32b9f800a883495 (diff)
plug a mbuf leak
debugging session w/ dhartmei@ and lots of testing help from Jun <pilot at monkey.org> ok theo daniel angelos
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_icmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
index b3e8beb3a5e..00c9e34d1c9 100644
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_icmp.c,v 1.53 2002/08/28 15:43:03 pefo Exp $ */
+/* $OpenBSD: ip_icmp.c,v 1.54 2003/01/31 17:23:34 henning Exp $ */
/* $NetBSD: ip_icmp.c,v 1.19 1996/02/13 23:42:22 christos Exp $ */
/*
@@ -671,6 +671,7 @@ icmp_reflect(m)
if (ro.ro_rt == 0)
{
ipstat.ips_noroute++;
+ m_freem(m);
goto done;
}