diff options
author | Eric Dumazet <edumazet@google.com> | 2014-10-05 12:35:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-06 01:04:16 -0400 |
commit | e70602a8b87649e9f7742d96929a8d83618fa320 (patch) | |
tree | e06033b817607a92bc2f45d11f0058cfc39e3af2 /drivers/net/ethernet/mellanox/mlx4/en_tx.c | |
parent | e533ac7ea00c39f5ef4ab0976dd2662d50fa42a1 (diff) | |
download | op-kernel-dev-e70602a8b87649e9f7742d96929a8d83618fa320.zip op-kernel-dev-e70602a8b87649e9f7742d96929a8d83618fa320.tar.gz |
net/mlx4_en: tx_info->ts_requested was not cleared
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_tx.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/en_tx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index e00841a..2c03b55 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; |