summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-26 06:57:21 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-26 06:57:21 +0000
commite8a8dce8c2a402eb62afd2cd3a9064b00805385f (patch)
tree68c83cd306d5ffeda2e576006ad6e976d0ad8c53 /sys/netinet6/ip6_output.c
parent591209718a1fafe114c9ed9b23a5167ecc0bc980 (diff)
Use m_tag_init() to initialize new mbuf m_pkthdr fields, rather than
having to change it every time.
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 4c369ebe229..c50557d8629 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.34 2001/05/20 08:36:01 angelos Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.35 2001/05/26 06:57:20 angelos Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -2334,7 +2334,7 @@ ip6_splithdr(m, exthdrs)
M_COPY_PKTHDR(mh, m);
MH_ALIGN(mh, sizeof(*ip6));
m->m_flags &= ~M_PKTHDR;
- TAILQ_INIT(&m->m_pkthdr.tags);
+ m_tag_init(m);
m->m_len -= sizeof(*ip6);
m->m_data += sizeof(*ip6);
mh->m_next = m;