Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 08:15:39 +0300 (MSK)
From:      "Ilmar S. Habibulin" <ilmar@ints.ru>
To:        Nikolai Saoukh <nms@otdel-1.org>
Cc:        Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>, freebsd-current@FreeBSD.ORG
Subject:   Re: -current sudden panics :(
Message-ID:  <Pine.BSF.4.21.0003220813250.220-100000@ws-ilmar.ints.ru>
In-Reply-To: <20000321192642.B8237@Draculina.otdel-1.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Mar 2000, Nikolai Saoukh wrote:

> 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?



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?Pine.BSF.4.21.0003220813250.220-100000>