projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e533ac7
)
net/mlx4_en: tx_info->ts_requested was not cleared
author
Eric Dumazet
<
[email protected]
>
Sun, 5 Oct 2014 09:35:19 +0000
(12:35 +0300)
committer
David S. Miller
<
[email protected]
>
Mon, 6 Oct 2014 05:04:16 +0000
(
01:04
-0400)
Properly clear tx_info->ts_requested
Signed-off-by: Eric Dumazet <
[email protected]
>
Signed-off-by: Amir Vadai <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/mellanox/mlx4/en_tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx4/en_tx.c
b/drivers/net/ethernet/mellanox/mlx4/en_tx.c
index e00841aa03c3c73c358e58349c84f35575d4e709..2c03b55204838e5e1f87bbcfceaca0ad4cdc6b86 100644
(file)
--- 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;