summaryrefslogtreecommitdiff
path: root/sys/netns/spp_usrreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netns/spp_usrreq.c')
-rw-r--r--sys/netns/spp_usrreq.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netns/spp_usrreq.c b/sys/netns/spp_usrreq.c
index c5164d049ab..ca691744b84 100644
--- a/sys/netns/spp_usrreq.c
+++ b/sys/netns/spp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spp_usrreq.c,v 1.8 1999/01/11 05:12:35 millert Exp $ */
+/* $OpenBSD: spp_usrreq.c,v 1.9 2001/05/27 12:29:23 angelos Exp $ */
/* $NetBSD: spp_usrreq.c,v 1.9 1996/02/13 22:14:13 christos Exp $ */
/*
@@ -848,6 +848,9 @@ spp_output(m0, va_alist)
* Fill in mbuf with extended SP header
* and addresses and length put into network format.
*/
+ M_COPY_HDR(m, m0);
+ m0->m_flags &= ~M_PKTHDR;
+ m_tag_init(m0);
MH_ALIGN(m, sizeof (struct spidp));
m->m_len = sizeof (struct spidp);
m->m_next = m0;