diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2014-11-12 20:57:29 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2014-11-12 20:57:29 +0000 |
commit | 4b63a7c678a1291c8056de3770cfa393773b1f94 (patch) | |
tree | 10df459c92036953974dc68e592dbef3b6109378 /contrib | |
parent | 6a3e4794013707fdef72ee967de76a934f3f553b (diff) | |
download | src-4b63a7c678a1291c8056de3770cfa393773b1f94.tar.gz src-4b63a7c678a1291c8056de3770cfa393773b1f94.zip |
Fix previous change to this file (r273811).
This has been submitted upstream and should show up there soon.
Submitted by: Hariprasad at Chelsio dot com
Notes
Notes:
svn path=/head/; revision=274450
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ofed/librdmacm/examples/rping.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/ofed/librdmacm/examples/rping.c b/contrib/ofed/librdmacm/examples/rping.c index 9bbfab1caa14..44f12327cb96 100644 --- a/contrib/ofed/librdmacm/examples/rping.c +++ b/contrib/ofed/librdmacm/examples/rping.c @@ -1049,19 +1049,20 @@ static int rping_run_client(struct rping_cb *cb) ret = rping_connect_client(cb); if (ret) { fprintf(stderr, "connect error %d\n", ret); - goto err2; + goto err3; } ret = rping_test_client(cb); if (ret) { fprintf(stderr, "rping client failed: %d\n", ret); - goto err3; + goto err4; } ret = 0; -err3: +err4: rdma_disconnect(cb->cm_id); -err2: +err3: pthread_join(cb->cqthread, NULL); +err2: rping_free_buffers(cb); err1: rping_free_qp(cb); |