diff options
author | Eric Dumazet <edumazet@google.com> | 2018-05-21 15:08:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-09 12:20:32 +0200 |
commit | c4af434936605e294485f220d0f92e956ccbd58d (patch) | |
tree | 14a736ffc3435ac0e64fbcc04d60070afcb0fa45 /include | |
parent | de0e6404535a0455d4d0c81ebf98c9ea2599ccab (diff) | |
download | linux-stable-c4af434936605e294485f220d0f92e956ccbd58d.tar.gz linux-stable-c4af434936605e294485f220d0f92e956ccbd58d.tar.bz2 linux-stable-c4af434936605e294485f220d0f92e956ccbd58d.zip |
tcp: add max_quickacks param to tcp_incr_quickack and tcp_enter_quickack_mode
[ Upstream commit 9a9c9b51e54618861420093ae6e9b50a961914c5 ]
We want to add finer control of the number of ACK packets sent after
ECN events.
This patch is not changing current behavior, it only enables following
change.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index b362f9abae3b..bca27ae031e2 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -372,7 +372,7 @@ ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags); -void tcp_enter_quickack_mode(struct sock *sk); +void tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks); static inline void tcp_dec_quickack_mode(struct sock *sk, const unsigned int pkts) { |