]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: fix spurious timestamping callbacks
authorEric Dumazet <edumazet@google.com>
Sat, 23 Apr 2016 18:35:46 +0000 (11:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 05:13:18 +0000 (01:13 -0400)
commit2aebf8eb6784d780996828ca15e16bdfebddacf3
tree29e80831697a8b52e41aab1e087921948c7de0b9
parent154bda2d1c86c5e80ff1fe7d3c8337dc71cc7c6c
net/mlx4_en: fix spurious timestamping callbacks

When multiple skb are TX-completed in a row, we might incorrectly keep
a timestamp of a prior skb and cause extra work.

Fixes: 0bd35733cb131 ("net/mlx4_en: Add HW timestamping (TS) support")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c