summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-s2mps11.c
diff options
context:
space:
mode:
authorRahul Rameshbabu <rrameshbabu@nvidia.com>2023-11-15 00:58:40 +0300
committerJakub Kicinski <kuba@kernel.org>2023-11-16 09:34:31 +0300
commit64f14d16eef1f939000f2617b50c7c996b5117d4 (patch)
treed32f13f93da5119c0dd6218e49efbaac0be143df /drivers/clk/clk-s2mps11.c
parentbdf788cf224f61c20a01c58c00685d394d57887f (diff)
downloadlinux-64f14d16eef1f939000f2617b50c7c996b5117d4.tar.xz
net/mlx5e: Avoid referencing skb after free-ing in drop path of mlx5e_sq_xmit_wqe
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>
Diffstat (limited to 'drivers/clk/clk-s2mps11.c')
0 files changed, 0 insertions, 0 deletions