Signed-off-by: Sean Hefty <[email protected]>
---
src/rsocket.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/rsocket.c b/src/rsocket.c
index 394fed4..c833d46 100644
--- a/src/rsocket.c
+++ b/src/rsocket.c
@@ -1631,7 +1631,7 @@ rs_poll_to_select(int nfds, struct pollfd *fds, fd_set
*readfds,
int i, cnt = 0;
for (i = 0; i < nfds; i++) {
- if (readfds && (fds[i].revents & POLLIN)) {
+ if (readfds && (fds[i].revents & (POLLIN | POLLHUP))) {
FD_SET(fds[i].fd, readfds);
cnt++;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html