mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Fixed another small bug in Infiniband node.
Both RC and UC are connected. So the check I changed should check for NOT UDP (UD), instead of TCP (RC)
This commit is contained in:
parent
6937db3ec2
commit
0cd4e07173
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ int ib_stop(struct node *n)
|
|||
// Call RDMA disconnect function
|
||||
// Will flush all outstanding WRs to the Completion Queue and
|
||||
// will call RDMA_CM_EVENT_DISCONNECTED if that is done.
|
||||
if (n->state == STATE_CONNECTED && ib->conn.port_space == RDMA_PS_TCP) {
|
||||
if (n->state == STATE_CONNECTED && ib->conn.port_space != RDMA_PS_UDP) {
|
||||
ret = rdma_disconnect(ib->ctx.id);
|
||||
|
||||
if (ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue