diff options
Diffstat (limited to 'net/unix')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index fb7a63ff71a5..2e4d90044a52 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -2197,7 +2197,7 @@ static unsigned int unix_dgram_poll(struct file *file, struct socket *sock, | |||
2197 | /* exceptional events? */ | 2197 | /* exceptional events? */ |
2198 | if (sk->sk_err || !skb_queue_empty(&sk->sk_error_queue)) | 2198 | if (sk->sk_err || !skb_queue_empty(&sk->sk_error_queue)) |
2199 | mask |= POLLERR | | 2199 | mask |= POLLERR | |
2200 | sock_flag(sk, SOCK_SELECT_ERR_QUEUE) ? POLLPRI : 0; | 2200 | (sock_flag(sk, SOCK_SELECT_ERR_QUEUE) ? POLLPRI : 0); |
2201 | 2201 | ||
2202 | if (sk->sk_shutdown & RCV_SHUTDOWN) | 2202 | if (sk->sk_shutdown & RCV_SHUTDOWN) |
2203 | mask |= POLLRDHUP | POLLIN | POLLRDNORM; | 2203 | mask |= POLLRDHUP | POLLIN | POLLRDNORM; |