net/mlx4_en: tx_info->ts_requested was not cleared
authorEric Dumazet <edumazet@google.com>
Sun, 5 Oct 2014 09:35:19 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 05:04:16 +0000 (01:04 -0400)
Properly clear tx_info->ts_requested

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c

index e00841a..2c03b55 100644 (file)
@@ -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;