summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorRahul Rameshbabu <rrameshbabu@nvidia.com>2023-11-14 13:58:40 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:15:19 +0000
commitc712654d6f366b0ebca75e8df29fb182d539ab81 (patch)
tree16517cab666a79fd6ff1cd950764303815664948 /tools/perf/scripts/python/check-perf-trace.py
parent2c9de867ca285c397cd71af703763fe416265706 (diff)
downloadlinux-stable-c712654d6f366b0ebca75e8df29fb182d539ab81.tar.gz
linux-stable-c712654d6f366b0ebca75e8df29fb182d539ab81.tar.bz2
linux-stable-c712654d6f366b0ebca75e8df29fb182d539ab81.zip
net/mlx5e: Avoid referencing skb after free-ing in drop path of mlx5e_sq_xmit_wqe
commit 64f14d16eef1f939000f2617b50c7c996b5117d4 upstream. When SQ is a port timestamping SQ for PTP, do not access tx flags of skb after free-ing the skb. Free the skb only after all references that depend on it have been handled in the dropped WQE path. Fixes: 3178308ad4ca ("net/mlx5e: Make tx_port_ts logic resilient to out-of-order CQEs") Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Link: https://lore.kernel.org/r/20231114215846.5902-10-saeed@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions