From 57bd5198fa3ab9cedbb0d1461c6779802902c637 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Thu, 22 Mar 2001 01:38:29 +0000 Subject: Paranoid -- clear tdbi field in mbuf pkthdr. --- sys/dev/isa/if_iy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/isa/if_iy.c b/sys/dev/isa/if_iy.c index 8382dca98bf..3b18f812324 100644 --- a/sys/dev/isa/if_iy.c +++ b/sys/dev/isa/if_iy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iy.c,v 1.6 2001/02/20 19:39:41 mickey Exp $ */ +/* $OpenBSD: if_iy.c,v 1.7 2001/03/22 01:38:28 angelos Exp $ */ /* $NetBSD: if_iy.c,v 1.4 1996/05/12 23:52:53 mycroft Exp $ */ /* #define IYDEBUG */ /* #define IYMEMDEBUG */ @@ -796,6 +796,7 @@ int iobase, rxlen; sc->next_mb = (sc->next_mb + 1) % MAX_MBS; m->m_data = m->m_pktdat; m->m_flags = M_PKTHDR; + m->m_pkthdr.tbdi = 0; /* paranoid */ } m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = rxlen; -- cgit v1.2.3