diff options
author | Eric Dumazet <edumazet@google.com> | 2020-09-30 14:54:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-30 23:21:30 +0200 |
commit | b6b6d6533a14b5ddcf9f9c5239fc3721fc6beda0 (patch) | |
tree | 3ebc44f6fa89883d9f46387b5e4337475790a1f8 /net/ipv4/tcp_timer.c | |
parent | net: macb: move pdata to private header (diff) | |
download | linux-b6b6d6533a14b5ddcf9f9c5239fc3721fc6beda0.tar.xz linux-b6b6d6533a14b5ddcf9f9c5239fc3721fc6beda0.zip |
inet: remove icsk_ack.blocked
TCP has been using it to work around the possibility of tcp_delack_timer()
finding the socket owned by user.
After commit 6f458dfb4092 ("tcp: improve latencies of timer triggered events")
we added TCP_DELACK_TIMER_DEFERRED atomic bit for more immediate recovery,
so we can get rid of icsk_ack.blocked
This frees space that following patch will reuse.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r-- | net/ipv4/tcp_timer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index 0c08c420fbc2..6c62b9ea1320 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c @@ -331,7 +331,6 @@ static void tcp_delack_timer(struct timer_list *t) if (!sock_owned_by_user(sk)) { tcp_delack_timer_handler(sk); } else { - icsk->icsk_ack.blocked = 1; __NET_INC_STATS(sock_net(sk), LINUX_MIB_DELAYEDACKLOCKED); /* deleguate our work to tcp_release_cb() */ if (!test_and_set_bit(TCP_DELACK_TIMER_DEFERRED, &sk->sk_tsq_flags)) |