From: Eric Dumazet Date: Sun, 5 Oct 2014 09:35:19 +0000 (+0300) Subject: net/mlx4_en: tx_info->ts_requested was not cleared X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e70602a8b87649e9f7742d96929a8d83618fa320;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net/mlx4_en: tx_info->ts_requested was not cleared Properly clear tx_info->ts_requested Signed-off-by: Eric Dumazet Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index e00841aa03c3..2c03b5520483 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -837,6 +837,7 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) * For timestamping add flag to skb_shinfo and * set flag for further reference */ + tx_info->ts_requested = 0; if (unlikely(ring->hwtstamp_tx_type == HWTSTAMP_TX_ON && shinfo->tx_flags & SKBTX_HW_TSTAMP)) { shinfo->tx_flags |= SKBTX_IN_PROGRESS;