From: Eric Dumazet Date: Sun, 5 Dec 2010 18:50:32 +0000 (+0000) Subject: net: fix skb_defer_rx_timestamp() X-Git-Tag: v2.6.37-rc6~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19faf0250e09b16cac169354126404bc8aa342b;p=pandora-kernel.git net: fix skb_defer_rx_timestamp() After commit c1f19b51d1d8 (net: support time stamping in phy devices.), kernel might crash if CONFIG_NETWORK_PHY_TIMESTAMPING=y and skb_defer_rx_timestamp() handles a packet without an ethernet header. Fixes kernel bugzilla #24102 Reference: https://bugzilla.kernel.org/show_bug.cgi?id=24102 Reported-and-tested-by: Andrew Watts Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed