Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 15:10:22 +0900
From:      Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
To:        ilmar@ints.ru
Cc:        nms@otdel-1.org, freebsd-current@FreeBSD.ORG
Subject:   Re: -current sudden panics :(
Message-ID:  <20000322151022G.shin@nd.net.fujitsu.co.jp>
In-Reply-To: <Pine.BSF.4.21.0003220813250.220-100000@ws-ilmar.ints.ru>
References:  <20000321192642.B8237@Draculina.otdel-1.org> <Pine.BSF.4.21.0003220813250.220-100000@ws-ilmar.ints.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> > The driver for his card does not set packet header pointer, thus
> > arp stuff see NULL pointer. small patch will cure this problem
> > (at least I hope so).
> > 
> > *** if_ed.c.old	Tue Mar 21 19:21:40 2000
> > --- if_ed.c	Tue Mar 21 19:23:27 2000
> > ***************
> > *** 2728,2733 ****
> > --- 2728,2734 ----
> >   	 */
> >   	m->m_pkthdr.len = m->m_len = len - sizeof(struct ether_header);
> >   	m->m_data += sizeof(struct ether_header);
> > + 	m->m_pkthdr.header = (void *)eh;
> >   
> >   	ether_input(&sc->arpcom.ac_if, eh, m);
> >   	return;
> This is driver for ed(ne2000) cards. I have realtek(rl driver). I took a
> look at his source and didn't find such strings. There is comment there
> about cutting off mbuf header before passing it to ether_input - what's
> this?

I think this fix is only necessary for token-ring case (as he
say in his following mail), and not related to ethernet.

Yoshinobu Inoue


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000322151022G.shin>