Commit 11a9552
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: b48c24c ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Jacob Moroni <[email protected]>
Signed-off-by: Tatyana Nikolova <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>1 parent 0f2055d commit 11a9552
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
| 1108 | + | |
1108 | 1109 | | |
1109 | 1110 | | |
1110 | 1111 | | |
| |||
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
1132 | | - | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
| |||
0 commit comments