summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_recovery.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-05-18 13:14:23 +0800
committerDavid S. Miller <davem@davemloft.net>2018-05-18 13:28:40 -0400
commit1f7455c3912d8b751514f03de659aab61a50c773 (patch)
treec8f03e7c0ab03e2ab5bffdbcf31456fff82aeda1 /net/ipv4/tcp_recovery.c
parentdbec982c695aa32e73532869f4cd15346cf46afe (diff)
downloadlinux-1f7455c3912d8b751514f03de659aab61a50c773.tar.bz2
tcp: tcp_rack_reo_wnd() can be static
Fixes: 20b654dfe1be ("tcp: support DUPACK threshold in RACK") Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_recovery.c')
-rw-r--r--net/ipv4/tcp_recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_recovery.c b/net/ipv4/tcp_recovery.c
index 30cbfb69b1de..71593e4400ab 100644
--- a/net/ipv4/tcp_recovery.c
+++ b/net/ipv4/tcp_recovery.c
@@ -21,7 +21,7 @@ static bool tcp_rack_sent_after(u64 t1, u64 t2, u32 seq1, u32 seq2)
return t1 > t2 || (t1 == t2 && after(seq1, seq2));
}
-u32 tcp_rack_reo_wnd(const struct sock *sk)
+static u32 tcp_rack_reo_wnd(const struct sock *sk)
{
struct tcp_sock *tp = tcp_sk(sk);