summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2026-09-15 17:09:32 +0300
committerLeon Romanovsky <leon@kernel.org>2026-09-28 08:13:15 -0400
commit829a0e65deff3f826a7870a52404aeaf1a3fec3f (patch)
treee0e895129c675f3b3bf312958c9bcc4d206520c5 /tools/lib/python/kdoc/python_version.py
parent05a078c97eb0bb7158526dae414b853737692485 (diff)
RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it
create_resource_common() inserted the resource into the radix tree before its initialization was complete. A firmware EQE in that window finds a zero refcount_t and calls refcount_inc() on it; the refcount API treats this as a use-after-free, saturates the counter, and permanently breaks the resource's lifecycle tracking. Move the initialization before the radix_tree_insert(). Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://patch.msgid.link/20260915140933.40580-15-yishaih@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions