linux-hardened/net/ethernet
Eric Dumazet 0864c15883 net: eth_type_trans() should use skb_header_pointer()
eth_type_trans() can read uninitialized memory as drivers
do not necessarily pull more than 14 bytes in skb->head before
calling it.

As David suggested, we can use skb_header_pointer() to
fix this without breaking some drivers that might not expect
eth_type_trans() pulling 2 additional bytes.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-16 15:30:31 -08:00
..
eth.c net: eth_type_trans() should use skb_header_pointer() 2014-01-16 15:30:31 -08:00
Makefile ipx: move peII functions 2012-07-19 10:48:00 -07:00