summaryrefslogtreecommitdiffstats
path: root/net/dccp/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r--net/dccp/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index 0d56e36a6db7..875858c8b059 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -325,7 +325,7 @@ __poll_t dccp_poll(struct file *file, struct socket *sock,
325 __poll_t mask; 325 __poll_t mask;
326 struct sock *sk = sock->sk; 326 struct sock *sk = sock->sk;
327 327
328 sock_poll_wait(file, sk_sleep(sk), wait); 328 sock_poll_wait(file, wait);
329 if (sk->sk_state == DCCP_LISTEN) 329 if (sk->sk_state == DCCP_LISTEN)
330 return inet_csk_listen_poll(sk); 330 return inet_csk_listen_poll(sk);
331 331