diff options
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r-- | net/ipv4/tcp_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index 3ea1cf804748..3705075f42c3 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c | |||
@@ -310,7 +310,7 @@ static void tcp_delack_timer(unsigned long data) | |||
310 | inet_csk(sk)->icsk_ack.blocked = 1; | 310 | inet_csk(sk)->icsk_ack.blocked = 1; |
311 | __NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKLOCKED); | 311 | __NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKLOCKED); |
312 | /* deleguate our work to tcp_release_cb() */ | 312 | /* deleguate our work to tcp_release_cb() */ |
313 | if (!test_and_set_bit(TCP_DELACK_TIMER_DEFERRED, &tcp_sk(sk)->tsq_flags)) | 313 | if (!test_and_set_bit(TCP_DELACK_TIMER_DEFERRED, &sk->sk_tsq_flags)) |
314 | sock_hold(sk); | 314 | sock_hold(sk); |
315 | } | 315 | } |
316 | bh_unlock_sock(sk); | 316 | bh_unlock_sock(sk); |
@@ -592,7 +592,7 @@ static void tcp_write_timer(unsigned long data) | |||
592 | tcp_write_timer_handler(sk); | 592 | tcp_write_timer_handler(sk); |
593 | } else { | 593 | } else { |
594 | /* delegate our work to tcp_release_cb() */ | 594 | /* delegate our work to tcp_release_cb() */ |
595 | if (!test_and_set_bit(TCP_WRITE_TIMER_DEFERRED, &tcp_sk(sk)->tsq_flags)) | 595 | if (!test_and_set_bit(TCP_WRITE_TIMER_DEFERRED, &sk->sk_tsq_flags)) |
596 | sock_hold(sk); | 596 | sock_hold(sk); |
597 | } | 597 | } |
598 | bh_unlock_sock(sk); | 598 | bh_unlock_sock(sk); |