summaryrefslogtreecommitdiff
path: root/sys/netns/ns_ip.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-25 01:50:19 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-25 01:50:19 +0000
commitf642fb2e9a5edbb5c8e001aab6f8d051ccfd10ac (patch)
tree9ab160bd7df1a0dede4fbd84f86a4e072d37817a /sys/netns/ns_ip.c
parenta10f9958afb69fd8b8735a135507dcf7ace599cb (diff)
Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok.
Diffstat (limited to 'sys/netns/ns_ip.c')
-rw-r--r--sys/netns/ns_ip.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netns/ns_ip.c b/sys/netns/ns_ip.c
index 4d136b90099..5d2de76cc2e 100644
--- a/sys/netns/ns_ip.c
+++ b/sys/netns/ns_ip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ns_ip.c,v 1.12 2001/05/27 12:29:23 angelos Exp $ */
+/* $OpenBSD: ns_ip.c,v 1.13 2001/06/25 01:50:18 fgsch Exp $ */
/* $NetBSD: ns_ip.c,v 1.16 1996/05/09 22:29:40 scottr Exp $ */
/*
@@ -286,8 +286,6 @@ nsipoutput(ifp, m, dst, rt)
return (ENOBUFS);
}
M_COPY_HDR(m0, m);
- m->m_flags &= ~M_PKTHDR;
- m_tag_init(m);
MH_ALIGN(m0, sizeof (struct ip));
m0->m_flags = m->m_flags & M_COPYFLAGS;
m0->m_next = m;