diff options
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index b9070736b8d9..dd21ae3013d8 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -6185,7 +6185,8 @@ unsigned int sctp_poll(struct file *file, struct socket *sock, poll_table *wait) | |||
6185 | 6185 | ||
6186 | /* Is there any exceptional events? */ | 6186 | /* Is there any exceptional events? */ |
6187 | if (sk->sk_err || !skb_queue_empty(&sk->sk_error_queue)) | 6187 | if (sk->sk_err || !skb_queue_empty(&sk->sk_error_queue)) |
6188 | mask |= POLLERR; | 6188 | mask |= POLLERR | |
6189 | sock_flag(sk, SOCK_SELECT_ERR_QUEUE) ? POLLPRI : 0; | ||
6189 | if (sk->sk_shutdown & RCV_SHUTDOWN) | 6190 | if (sk->sk_shutdown & RCV_SHUTDOWN) |
6190 | mask |= POLLRDHUP | POLLIN | POLLRDNORM; | 6191 | mask |= POLLRDHUP | POLLIN | POLLRDNORM; |
6191 | if (sk->sk_shutdown == SHUTDOWN_MASK) | 6192 | if (sk->sk_shutdown == SHUTDOWN_MASK) |