aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-07-20 17:45:10 -0400
committerDavid S. Miller <davem@davemloft.net>2018-07-21 00:17:12 -0400
commitc4c5551df136a7c4edd7c2f433d9a296b39826a2 (patch)
treea33d9f228efd34b0ad18e380385093405ef72d98 /net/ipv4/tcp_output.c
parent40999f11ce677ce3c5d0e8f5f76c40192a26b479 (diff)
parent48e5aee81f320da8abd1f09c8410f584315f59b0 (diff)
Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux
All conflicts were trivial overlapping changes, so reasonably easy to resolve. Signed-off-by: David S. Miller <davem@davemloft.net>
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.