diff options
author | Dragos Tatulea <[email protected]> | 2024-06-04 00:22:07 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-06-05 20:20:41 -0700 |
commit | 70bd03b89f20b9bbe51a7f73c4950565a17a45f7 (patch) | |
tree | f7b1968ee090abf53141bcf2bea4207a63a49901 /tools/perf/scripts/python | |
parent | 4e92d247418c36ed35e9d98b153637828f9882a3 (diff) |
net/mlx5e: SHAMPO, Fix incorrect page release
Under the following conditions:
1) No skb created yet
2) header_size == 0 (no SHAMPO header)
3) header_index + 1 % MLX5E_SHAMPO_WQ_HEADER_PER_PAGE == 0 (this is the
last page fragment of a SHAMPO header page)
a new skb is formed with a page that is NOT a SHAMPO header page (it
is a regular data page). Further down in the same function
(mlx5e_handle_rx_cqe_mpwrq_shampo()), a SHAMPO header page from
header_index is released. This is wrong and it leads to SHAMPO header
pages being released more than once.
Signed-off-by: Dragos Tatulea <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions