diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-03-22 01:38:29 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-03-22 01:38:29 +0000 |
commit | 57bd5198fa3ab9cedbb0d1461c6779802902c637 (patch) | |
tree | ecf9a268e0599b6abecb84fb6832e98358678310 | |
parent | ccafea6d5edf0b2e97cd81b18efbdaa338a53476 (diff) |
Paranoid -- clear tdbi field in mbuf pkthdr.
-rw-r--r-- | sys/dev/isa/if_iy.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |