summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
diff options
context:
space:
mode:
authorTariq Toukan2016-09-07 18:07:57 +0200
committerDavid S. Miller2016-09-09 01:15:28 +0200
commit0dbf657c3993a269fa0cd7dabbb9c02741d4aefa (patch)
tree038b2f484391cdeb2f3f155663d1efa68152801e /drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
parenttcp: fastopen: avoid negative sk_forward_alloc (diff)
downloadkernel-qcow2-linux-0dbf657c3993a269fa0cd7dabbb9c02741d4aefa.tar.gz
kernel-qcow2-linux-0dbf657c3993a269fa0cd7dabbb9c02741d4aefa.tar.xz
kernel-qcow2-linux-0dbf657c3993a269fa0cd7dabbb9c02741d4aefa.zip
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c')
0 files changed, 0 insertions, 0 deletions