Skip to content

Commit

Permalink
fix core dump issue when disable HAVE_IBV_WR_API
Browse files Browse the repository at this point in the history
  • Loading branch information
tianx666 committed Jan 9, 2025
1 parent 45f9f32 commit bb7115b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/perftest_resources.c
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,8 @@ int ctx_init(struct pingpong_context *ctx, struct perftest_parameters *user_para
modify_qp_to_init(ctx, user_param, i);
}
#ifdef HAVE_DCS
ctx->dci_stream_id[i] = 0;
if (ctx->dci_stream_id)
ctx->dci_stream_id[i] = 0;
#endif
qp_index++;
}
Expand Down

0 comments on commit bb7115b

Please sign in to comment.