From 381a4e300c642e500e526ef36b479cc425bc5bdd Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Tue, 26 Sep 2000 17:50:27 +0000 Subject: Set the tdbi field in the pkthdr to NULL in MGETHDR -- avoids some panics in Alphas (probably others too). --- sys/sys/mbuf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); \ } -- cgit v1.2.3