diff options
-rw-r--r-- | drivers/net/ll_temac_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ll_temac_main.c b/drivers/net/ll_temac_main.c index e7b8afec73a1..e3f19255af28 100644 --- a/drivers/net/ll_temac_main.c +++ b/drivers/net/ll_temac_main.c | |||
@@ -728,6 +728,8 @@ static int temac_start_xmit(struct sk_buff *skb, struct net_device *ndev) | |||
728 | if (lp->tx_bd_tail >= TX_BD_NUM) | 728 | if (lp->tx_bd_tail >= TX_BD_NUM) |
729 | lp->tx_bd_tail = 0; | 729 | lp->tx_bd_tail = 0; |
730 | 730 | ||
731 | skb_tx_timestamp(skb); | ||
732 | |||
731 | /* Kick off the transfer */ | 733 | /* Kick off the transfer */ |
732 | lp->dma_out(lp, TX_TAILDESC_PTR, tail_p); /* DMA start */ | 734 | lp->dma_out(lp, TX_TAILDESC_PTR, tail_p); /* DMA start */ |
733 | 735 | ||
@@ -773,7 +775,8 @@ static void ll_temac_recv(struct net_device *ndev) | |||
773 | skb->ip_summed = CHECKSUM_COMPLETE; | 775 | skb->ip_summed = CHECKSUM_COMPLETE; |
774 | } | 776 | } |
775 | 777 | ||
776 | netif_rx(skb); | 778 | if (!skb_defer_rx_timestamp(skb)) |
779 | netif_rx(skb); | ||
777 | 780 | ||
778 | ndev->stats.rx_packets++; | 781 | ndev->stats.rx_packets++; |
779 | ndev->stats.rx_bytes += length; | 782 | ndev->stats.rx_bytes += length; |