Skip to content

Commit

Permalink
[sctp] change code to use only events to detect transport status
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Dec 25, 2019
1 parent a3c3260 commit a753a08
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 153 deletions.
7 changes: 7 additions & 0 deletions libknet/threads_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,13 @@ static void _handle_recv_from_links(knet_handle_t knet_h, int sockfd, struct kne
}
_parse_recv_from_links(knet_h, sockfd, &msg[i]);
break;
case 3:
log_debug(knet_h, KNET_SUB_RX, "Transport is processing sock OOB data, continue");
break;
case 4:
log_debug(knet_h, KNET_SUB_RX, "Transport has completed processing sock OOB data, stop");
goto exit_unlock;
break;
}
}

Expand Down
Loading

0 comments on commit a753a08

Please sign in to comment.