Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-repo
Commits
492db899
Commit
492db899
authored
Sep 08, 2017
by
Rob Latham
Browse files
ignore return code for portability
See
https://github.com/CCI/cci/issues/45
and
https://github.com/CCI/cci/pull/49
parent
a548b427
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/cci/cci-rdma-destroy-ep.patch
0 → 100644
View file @
492db899
diff --git a/src/plugins/ctp/verbs/ctp_verbs_api.c b/src/plugins/ctp/verbs/ctp_verbs_api.c
index 06da1f4..e187ebd 100644
--- a/src/plugins/ctp/verbs/ctp_verbs_api.c
+++ b/src/plugins/ctp/verbs/ctp_verbs_api.c
@@ -2982,12 +2982,7 @@
verbs_handle_disconnected(cci__ep_t * ep, struct rdma_cm_event *cm_evt)
/* Either way, we got the DISCONNECTED event, it is safe to cleanup
* the QP and CM id.
*/
- ret = rdma_destroy_ep(vconn->id);
- if (ret == -1) {
- ret = errno;
- debug(CCI_DB_WARN, "%s: rdma_destroy_ep() returned %s",
- __func__, strerror(ret));
- }
+ rdma_destroy_ep(vconn->id);
if (!vconn->cci_disconn) {
verbs_destroy_conn(ep, conn);
packages/cci/package.py
View file @
492db899
...
...
@@ -42,6 +42,8 @@ class Cci(AutotoolsPackage):
depends_on
(
'libtool'
,
type
=
'build'
,
when
=
'@master'
);
patch
(
'0001-Werror-is-a-little-aggressive.patch'
);
# some libverbs libraries return 'void' instead of a value
patch
(
'cci-rdma-destroy-ep.patch'
);
version
(
'master'
,
git
=
'https://github.com/CCI/cci.git'
)
version
(
'2.0'
,
'070b2ba4eca92a846c093f2cd000d3b2'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment