diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2019-09-16 17:19:12 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-10-18 12:11:51 -0700 |
commit | 500f36a485862cee15752b58a5a9a50c1f59ff58 (patch) | |
tree | c891e923f5a085746085fba257b8f075438b6e5c /tools/perf/scripts/python/syscall-counts.py | |
parent | 0c258dec8d98af15b34dbffdb89c008b6da01ff8 (diff) |
net/mlx5e: Tx, Zero-memset WQE info struct upon update
Not all fields of WQE info are being written in the function,
having some leftovers from previous rounds.
Zero-memset it upon update.
Particularly, not nullifying the wi->resync_dump_frag field
will cause double free of the kTLS DUMPed frags.
Fixes: d2ead1f360e8 ("net/mlx5e: Add kTLS TX HW offload support")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions