summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-22 18:59:55 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-22 18:59:55 +0000
commit42432d27b877b3b00cb4d205dc3c335da7c8c5ed (patch)
tree0191f0e8fd61eb853837e52b08c22bc22cc90a1a /sys/dev/ic
parentc340219c6d4792f009415b50d744b1a8993fbef3 (diff)
Initialize packet tag -- this has probably been causing panics for
people with ep cards.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/elink3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c
index 718203de636..bdb2645d165 100644
--- a/sys/dev/ic/elink3.c
+++ b/sys/dev/ic/elink3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elink3.c,v 1.47 2001/02/20 19:39:36 mickey Exp $ */
+/* $OpenBSD: elink3.c,v 1.48 2001/05/22 18:59:54 angelos Exp $ */
/* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */
/*
@@ -1405,7 +1405,7 @@ epget(sc, totlen)
sc->next_mb = (sc->next_mb + 1) % MAX_MBS;
m->m_data = m->m_pktdat;
m->m_flags = M_PKTHDR;
- bzero(&m->m_pkthdr, sizeof(m->m_pkthdr));
+ TAILQ_INIT(&m->m_pkthdr.tags);
}
m->m_pkthdr.rcvif = ifp;
m->m_pkthdr.len = totlen;