lkml.org 
[lkml]   [2001]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Kernel 2.2.18: Protocol 0008 is buggy
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.098 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site