commit | 0dbf657c3993a269fa0cd7dabbb9c02741d4aefa | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Wed Sep 07 19:07:57 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 08 16:15:28 2016 -0700 |
tree | 038b2f484391cdeb2f3f155663d1efa68152801e | |
parent | 76061f631c2ea4ab9c4d66f3a96ecc5737f5aaf7 [diff] |
net/mlx5e: Fix xmit_more counter race issue Update the xmit_more counter before notifying the HW, to prevent a possible use-after-free of the skb. Fixes: c8cf78fe100b ("net/mlx5e: Add ethtool counter for TX xmit_more") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>