From owner-freebsd-current Tue Mar 21 21:15:57 2000 Delivered-To: freebsd-current@freebsd.org Received: from ws-ilmar.ints.ru (ws-ilmar.ints.ru [194.67.173.16]) by hub.freebsd.org (Postfix) with ESMTP id 62BDA37C07B for ; Tue, 21 Mar 2000 21:15:52 -0800 (PST) (envelope-from ilmar@ints.ru) Received: from localhost (localhost [127.0.0.1]) by ws-ilmar.ints.ru (8.9.3/8.9.3) with ESMTP id IAA00492; Wed, 22 Mar 2000 08:15:39 +0300 (MSK) Date: Wed, 22 Mar 2000 08:15:39 +0300 (MSK) From: "Ilmar S. Habibulin" To: Nikolai Saoukh Cc: Yoshinobu Inoue , freebsd-current@FreeBSD.ORG Subject: Re: -current sudden panics :( In-Reply-To: <20000321192642.B8237@Draculina.otdel-1.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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