summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-27 11:58:26 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-27 11:58:26 +0000
commitd06de4200dea71d5d812f0d2c8eab8ceaaecc7ef (patch)
tree19d15f26b6aef8e4a5baf577b2a09142535bd82a /sys/net
parent003737e99ee78a7f25a6c5ab98a2ba5d8dcd66f7 (diff)
Initialize old mbuf chain head tags.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_vlan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index abfc5db3136..222393bc6d1 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vlan.c,v 1.16 2001/03/30 16:02:13 jason Exp $ */
+/* $OpenBSD: if_vlan.c,v 1.17 2001/05/27 11:58:25 angelos Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
*
@@ -250,6 +250,7 @@ vlan_start(struct ifnet *ifp)
if (m0->m_flags & M_PKTHDR) {
M_COPY_PKTHDR(m0, m);
m->m_flags &= ~M_PKTHDR;
+ m_tag_init(m);
}
m0->m_flags &= ~M_PROTO1;
m0->m_next = m;