Eric Dumazet a19faf0250 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 <akwatts@ymail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-10 16:20:56 -08:00
..
2010-10-27 11:37:32 -07:00
2010-12-06 09:29:43 -08:00
2010-09-23 14:33:39 -07:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2010-10-25 14:18:27 -07:00
2010-07-12 12:57:55 -07:00
2010-07-12 12:57:55 -07:00
2010-11-10 12:12:00 -08:00
2010-10-25 14:18:27 -07:00
2010-09-23 14:33:39 -07:00