summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 8e053ad7cae2..1b38b4282cc9 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -493,9 +493,9 @@ static void tcp_tx_timestamp(struct sock *sk, u16 tsflags)
493 * take care of normal races (between the test and the event) and we don't 493 * take care of normal races (between the test and the event) and we don't
494 * go look at any of the socket buffers directly. 494 * go look at any of the socket buffers directly.
495 */ 495 */
496unsigned int tcp_poll(struct file *file, struct socket *sock, poll_table *wait) 496__poll_t tcp_poll(struct file *file, struct socket *sock, poll_table *wait)
497{ 497{
498 unsigned int mask; 498 __poll_t mask;
499 struct sock *sk = sock->sk; 499 struct sock *sk = sock->sk;
500 const struct tcp_sock *tp = tcp_sk(sk); 500 const struct tcp_sock *tp = tcp_sk(sk);
501 int state; 501 int state;