summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-25 02:54:45 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-25 02:54:45 +0000
commit679c5caf5ce0465d27fac721b770f63176201435 (patch)
treee7e77d4f613b876deeff3d43aab06791d2c4657f /sys/netinet/ip_output.c
parentfae81c4c1ef136049d2f0c2dc25f66c89c8ff7f1 (diff)
Don't double-clear M_PKTHDR/tags.
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index 686960487af..e347ec543c1 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_output.c,v 1.122 2001/06/25 02:03:18 angelos Exp $ */
+/* $OpenBSD: ip_output.c,v 1.123 2001/06/25 02:54:44 angelos Exp $ */
/* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */
/*
@@ -874,8 +874,6 @@ ip_insertoptions(m, opt, phlen)
if (n == 0)
return (m);
M_COPY_HDR(n, m);
- m_tag_init(m);
- m->m_flags &= ~M_PKTHDR;
n->m_pkthdr.len = m->m_pkthdr.len + optlen;
m->m_len -= sizeof(struct ip);
m->m_data += sizeof(struct ip);