diff options
| author | Jacob Moroni <jmoroni@google.com> | 2026-03-16 13:39:38 -0500 |
|---|---|---|
| committer | Leon Romanovsky <leonro@nvidia.com> | 2026-03-18 06:20:53 -0400 |
| commit | 11a95521fb93c91e2d4ef9d53dc80ef0a755549b (patch) | |
| tree | abea42d5988d28452ae72b528870a9d2f8b34dce /include/mtd/git@git.tavy.me:linux.git | |
| parent | 0f2055db7b630559870afb40fc84490816ab8ec5 (diff) | |
RDMA/irdma: Initialize free_qp completion before using it
In irdma_create_qp, if ib_copy_to_udata fails, it will call
irdma_destroy_qp to clean up which will attempt to wait on
the free_qp completion, which is not initialized yet. Fix this
by initializing the completion before the ib_copy_to_udata call.
Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Jacob Moroni <jmoroni@google.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/mtd/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
