Re: Kernel 2.2.18: Protocol 0008 is buggy

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Jan 31 2001 - 14:12:46 EST


> Is this really supposed to be done in the HW driver / support code level,
> or is it supposed to be done in the protocol (IP / ARP) level??

oops I was half asleep

Driver sets

        skb->mac.raw
        skb->pkt_type
        skb->protocol
(see net/ethernet/eth.c)

        skb->h.raw and skb->nh.raw are set by the receive action code

On transmit

        nh.raw is set by the protocol
        

Note that non -ac kernels have a bug where a packet consisting of pure mac
header causes bogus warnings

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:40 EST