summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2009-08-10 15:26:34 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2009-08-10 15:26:34 +0000
commit5805e266862cc7867e65126c242f3a7b86376a41 (patch)
tree0bd8c5a264ea2fcf94b020f03b2d457e5d7fa2ab /sys/netinet/ip_input.c
parent957854cccd8496e3db20cb6a1a631cc89a25ba3e (diff)
we need to null mcopy, gotos bite. theo and i both missed them, theo ok
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 47b2b3e8016..b289b5cadf9 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.168 2009/08/10 13:20:08 henning Exp $ */
+/* $OpenBSD: ip_input.c,v 1.169 2009/08/10 15:26:33 henning Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -1426,7 +1426,7 @@ ip_forward(m, srcrt)
int error, type = 0, code = 0, destmtu = 0, len;
u_int rtableid = 0;
n_long dest;
- struct mbuf mfake, *mcopy;
+ struct mbuf mfake, *mcopy = NULL;
dest = 0;
#ifdef DIAGNOSTIC