Module: wine Branch: master Commit: 78f1dd89676b72b217e69e131602aa4b1897e4ae URL: https://gitlab.winehq.org/wine/wine/-/commit/78f1dd89676b72b217e69e131602aa4...
Author: Jinoh Kang jinoh.kang.kr@gmail.com Date: Tue Aug 9 22:21:02 2022 +0900
server: Use POLLIN instead of POLLPRI if the socket is in oobinline mode.
---
server/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/sock.c b/server/sock.c index 7d7e470be28..caa3724eb59 100644 --- a/server/sock.c +++ b/server/sock.c @@ -3470,7 +3470,7 @@ DECL_HANDLER(recv_socket) */ struct pollfd pollfd; pollfd.fd = get_unix_fd( sock->fd ); - pollfd.events = req->oob ? POLLPRI : POLLIN; + pollfd.events = req->oob && !is_oobinline( sock ) ? POLLPRI : POLLIN; pollfd.revents = 0; if (poll(&pollfd, 1, 0) >= 0 && pollfd.revents) {