summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-06-22 10:51:07 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-06-22 10:51:07 +0000
commitaaa9c822d93dbf3572446599aabcf49521090f28 (patch)
tree969cfe465ade50311d9587a748828effbe1bdc51
parent8e9f0e3e7f0deba751a2fbafb8b9276e17b629f4 (diff)
sync m_inithdr() with m_gethdr() after the
addition of rdomain to struct pkthdr. "Doh!" claudio@ ok henning@
-rw-r--r--sys/kern/uipc_mbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index cd45d0d0491..02d221f0bc5 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.121 2009/06/05 00:05:21 claudio Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.122 2009/06/22 10:51:06 thib Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -248,6 +248,7 @@ m_inithdr(struct mbuf *m)
m->m_data = m->m_pktdat;
m->m_flags = M_PKTHDR;
m->m_pkthdr.rcvif = NULL;
+ m->m_pkthdr.rdomain = 0;
SLIST_INIT(&m->m_pkthdr.tags);
m->m_pkthdr.csum_flags = 0;
m->m_pkthdr.ether_vtag = 0;