summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/elink3.c4
-rw-r--r--sys/netinet6/icmp6.c4
-rw-r--r--sys/netinet6/ip6_output.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c
index bdb2645d165..ad9e4727a31 100644
--- a/sys/dev/ic/elink3.c
+++ b/sys/dev/ic/elink3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elink3.c,v 1.48 2001/05/22 18:59:54 angelos Exp $ */
+/* $OpenBSD: elink3.c,v 1.49 2001/05/26 06:57:19 angelos Exp $ */
/* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */
/*
@@ -1405,7 +1405,7 @@ epget(sc, totlen)
sc->next_mb = (sc->next_mb + 1) % MAX_MBS;
m->m_data = m->m_pktdat;
m->m_flags = M_PKTHDR;
- TAILQ_INIT(&m->m_pkthdr.tags);
+ m_tag_init(m);
}
m->m_pkthdr.rcvif = ifp;
m->m_pkthdr.len = totlen;
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 389d987561b..7d57502c568 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.40 2001/05/20 08:36:01 angelos Exp $ */
+/* $OpenBSD: icmp6.c,v 1.41 2001/05/26 06:57:19 angelos Exp $ */
/* $KAME: icmp6.c,v 1.205 2001/03/21 07:48:57 itojun Exp $ */
/*
@@ -634,7 +634,7 @@ icmp6_input(mp, offp, proto)
n->m_pkthdr.len += n0->m_pkthdr.len;
n->m_next = n0;
n0->m_flags &= ~M_PKTHDR;
- TAILQ_INIT(&n0->m_pkthdr.tags);
+ m_tag_init(n0);
} else {
nip6 = mtod(n, struct ip6_hdr *);
nicmp6 = (struct icmp6_hdr *)((caddr_t)nip6 + off);
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;