aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index f8f6129160dd..6cbab56e7407 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -3509,8 +3509,6 @@ void tcp_send_delayed_ack(struct sock *sk)
3509 int ato = icsk->icsk_ack.ato; 3509 int ato = icsk->icsk_ack.ato;
3510 unsigned long timeout; 3510 unsigned long timeout;
3511 3511
3512 tcp_ca_event(sk, CA_EVENT_DELAYED_ACK);
3513
3514 if (ato > TCP_DELACK_MIN) { 3512 if (ato > TCP_DELACK_MIN) {
3515 const struct tcp_sock *tp = tcp_sk(sk); 3513 const struct tcp_sock *tp = tcp_sk(sk);
3516 int max_ato = HZ / 2; 3514 int max_ato = HZ / 2;
@@ -3567,8 +3565,6 @@ void tcp_send_ack(struct sock *sk)
3567 if (sk->sk_state == TCP_CLOSE) 3565 if (sk->sk_state == TCP_CLOSE)
3568 return; 3566 return;
3569 3567
3570 tcp_ca_event(sk, CA_EVENT_NON_DELAYED_ACK);
3571
3572 /* We are not putting this on the write queue, so 3568 /* We are not putting this on the write queue, so
3573 * tcp_transmit_skb() will set the ownership to this 3569 * tcp_transmit_skb() will set the ownership to this
3574 * sock. 3570 * sock.