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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to