summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-27 12:16:02 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-27 12:16:02 +0000
commit0fd9d491762ad8d469d2e6a8a77143bf9d9860dc (patch)
tree091a76084bc4aa30f6e35af0adbd98e8e53d22b9 /sys
parentd06de4200dea71d5d812f0d2c8eab8ceaaecc7ef (diff)
Fixup tags.
Diffstat (limited to 'sys')
-rw-r--r--sys/netipx/ipx_ip.c4
-rw-r--r--sys/netipx/spx_usrreq.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c
index dcb5a5d04ad..6f5e862ecdf 100644
--- a/sys/netipx/ipx_ip.c
+++ b/sys/netipx/ipx_ip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_ip.c,v 1.9 2001/05/20 08:36:02 angelos Exp $ */
+/* $OpenBSD: ipx_ip.c,v 1.10 2001/05/27 12:16:01 angelos Exp $ */
/*-
*
@@ -280,7 +280,7 @@ ipxipoutput(ifp, m, dst, rt)
m0->m_pkthdr.len = m0->m_len + m->m_len;
m0->m_pkthdr.tags = m->m_pkthdr.tags;
m->m_flags &= ~M_PKTHDR;
- TAILQ_INIT(&m->m_pkthdr.tags);
+ m_tag_init(m);
} else {
M_PREPEND(m, sizeof(struct ip), M_DONTWAIT);
if (m == NULL)
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index 2324e06227c..9560c6e1e20 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spx_usrreq.c,v 1.13 2001/05/01 17:58:15 mickey Exp $ */
+/* $OpenBSD: spx_usrreq.c,v 1.14 2001/05/27 12:16:01 angelos Exp $ */
/*-
*
@@ -798,6 +798,9 @@ spx_output(cb, m0)
* Fill in mbuf with extended SP header
* and addresses and length put into network format.
*/
+ M_COPY_HDR(m, m0);
+ m_tag_init(m0);
+ m0->m_flags &= ~M_PKTHDR;
MH_ALIGN(m, sizeof(struct spx));
m->m_len = sizeof(struct spx);
m->m_next = m0;