svn commit: r274450 - head/contrib/ofed/librdmacm/examples

Navdeep Parhar np at FreeBSD.org
Wed Nov 12 20:57:30 UTC 2014


Author: np
Date: Wed Nov 12 20:57:29 2014
New Revision: 274450
URL: https://svnweb.freebsd.org/changeset/base/274450

Log:
  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

Modified:
  head/contrib/ofed/librdmacm/examples/rping.c

Modified: head/contrib/ofed/librdmacm/examples/rping.c
==============================================================================
--- head/contrib/ofed/librdmacm/examples/rping.c	Wed Nov 12 20:37:23 2014	(r274449)
+++ head/contrib/ofed/librdmacm/examples/rping.c	Wed Nov 12 20:57:29 2014	(r274450)
@@ -1049,19 +1049,20 @@ static int rping_run_client(struct rping
 	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);


More information about the svn-src-head mailing list