Then connection is accepted POLLOUT event is up most of the time (but not handled) and osm_console() just loops without doing something.
Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]> --- osm/opensm/osm_console.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osm/opensm/osm_console.c b/osm/opensm/osm_console.c index c6566af..af3a0f8 100644 --- a/osm/opensm/osm_console.c +++ b/osm/opensm/osm_console.c @@ -450,11 +450,11 @@ void osm_console(osm_opensm_t *p_osm) nfds_t nfds; pollfd[0].fd = p_osm->console.socket; - pollfd[0].events = POLLIN|POLLOUT; + pollfd[0].events = POLLIN; pollfd[0].revents = 0; pollfd[1].fd = p_osm->console.in_fd; - pollfd[1].events = POLLIN|POLLOUT; + pollfd[1].events = POLLIN; pollfd[1].revents = 0; fds = p_osm->console.socket < 0 ? &pollfd[1] : pollfd; -- 1.5.0.rc0.g2484-dirty _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general