mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
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>
This commit is contained in:
parent
e533ac7ea0
commit
e70602a8b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user