diff options
author | 2018-03-20 18:17:25 +0200 | |
---|---|---|
committer | 2018-04-26 12:43:20 -0700 | |
commit | d9a96ec362e3da878c378854e25321c85bac52c2 (patch) | |
tree | 38f2f940d510d21e7bb797da6576cbf4af3b2218 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: Fix mlx5_get_vector_affinity function (diff) | |
download | wireguard-linux-d9a96ec362e3da878c378854e25321c85bac52c2.tar.xz wireguard-linux-d9a96ec362e3da878c378854e25321c85bac52c2.zip |
net/mlx5e: TX, Use correct counter in dma_map error flow
In case of a dma_mapping_error, do not use wi->num_dma
as a parameter for dma unmap function because it's yet
to be set, and holds an out-of-date value.
Use actual value (local variable num_dma) instead.
Fixes: 34802a42b352 ("net/mlx5e: Do not modify the TX SKB")
Fixes: e586b3b0baee ("net/mlx5: Ethernet Datapath files")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions