diff options
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index e4ff25c947c5..ef45adfc0edb 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -2502,9 +2502,9 @@ int compat_udp_getsockopt(struct sock *sk, int level, int optname, | |||
2502 | * but then block when reading it. Add special case code | 2502 | * but then block when reading it. Add special case code |
2503 | * to work around these arguably broken applications. | 2503 | * to work around these arguably broken applications. |
2504 | */ | 2504 | */ |
2505 | unsigned int udp_poll(struct file *file, struct socket *sock, poll_table *wait) | 2505 | __poll_t udp_poll(struct file *file, struct socket *sock, poll_table *wait) |
2506 | { | 2506 | { |
2507 | unsigned int mask = datagram_poll(file, sock, wait); | 2507 | __poll_t mask = datagram_poll(file, sock, wait); |
2508 | struct sock *sk = sock->sk; | 2508 | struct sock *sk = sock->sk; |
2509 | 2509 | ||
2510 | if (!skb_queue_empty(&udp_sk(sk)->reader_queue)) | 2510 | if (!skb_queue_empty(&udp_sk(sk)->reader_queue)) |