From 42432d27b877b3b00cb4d205dc3c335da7c8c5ed Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Tue, 22 May 2001 18:59:55 +0000 Subject: Initialize packet tag -- this has probably been causing panics for people with ep cards. --- sys/dev/ic/elink3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic') 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; -- cgit v1.2.3