fec_mpc52xx: fix timestamp filtering

skb_defer_rx_timestamp was called with a freshly allocated skb but must
be called with rskb instead.

Signed-off-by: Stephan Gatzka <stephan@gatzka.org>
Cc: stable <stable@vger.kernel.org>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Stephan Gatzka and committed by David S. Miller 9ca3cc6f b1ff4f96

Changed files
+1 -1
drivers
net
ethernet
freescale
+1 -1
drivers/net/ethernet/freescale/fec_mpc52xx.c
··· 437 437 length = status & BCOM_FEC_RX_BD_LEN_MASK; 438 438 skb_put(rskb, length - 4); /* length without CRC32 */ 439 439 rskb->protocol = eth_type_trans(rskb, dev); 440 - if (!skb_defer_rx_timestamp(skb)) 440 + if (!skb_defer_rx_timestamp(rskb)) 441 441 netif_rx(rskb); 442 442 443 443 spin_lock(&priv->lock);