From: Eric Dumazet Date: Thu, 16 Jan 2014 23:03:31 +0000 (-0800) Subject: net: eth_type_trans() should use skb_header_pointer() X-Git-Tag: v3.14-rc1~94^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0864c158836c2d0edb61f7128475e192b09bc851;p=pandora-kernel.git 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 Cc: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed