summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-09-26 17:50:27 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-09-26 17:50:27 +0000
commit381a4e300c642e500e526ef36b479cc425bc5bdd (patch)
tree3061922967bfc1eb36faf1cafb4f0b13f78d1e6f /sys
parentc2feb6cb1064e5313347a528073901c46bd29588 (diff)
Set the tdbi field in the pkthdr to NULL in MGETHDR -- avoids some
panics in Alphas (probably others too).
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mbuf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 717a0de466e..be0a7299af1 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.17 2000/06/12 17:24:26 itojun Exp $ */
+/* $OpenBSD: mbuf.h,v 1.18 2000/09/26 17:50:26 angelos Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -217,6 +217,7 @@ struct mbuf {
(m)->m_nextpkt = (struct mbuf *)NULL; \
(m)->m_data = (m)->m_pktdat; \
(m)->m_flags = M_PKTHDR; \
+ (m)->m_pkthdr.tdbi = NULL; \
} else \
(m) = m_retryhdr((how), (type)); \
}