diff options
author | Eric Dumazet <edumazet@google.com> | 2023-07-18 16:20:49 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-19 21:18:51 -0700 |
commit | 03b123debcbc8db987bda17ed8412cc011064c22 (patch) | |
tree | f6b15c9aa9cfc7f60d35eef34b81aa323f921ba9 /include | |
parent | 730b9051b8bce5eabd1f5b67dfd090c37d5dabea (diff) |
tcp: tcp_enter_quickack_mode() should be static
After commit d2ccd7bc8acd ("tcp: avoid resetting ACK timer in DCTCP"),
tcp_enter_quickack_mode() is only used from net/ipv4/tcp_input.c.
Fixes: d2ccd7bc8acd ("tcp: avoid resetting ACK timer in DCTCP")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Link: https://lore.kernel.org/r/20230718162049.1444938-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/tcp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 8d1f1af5e02a..c5fb90079920 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -350,7 +350,6 @@ ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos, struct sk_buff *tcp_stream_alloc_skb(struct sock *sk, gfp_t gfp, bool force_schedule); -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) { |