]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Remove unnecessary arg from tcp_enter_cwr and tcp_init_cwnd_reduction
authorChristoph Paasch <christoph.paasch@uclouvain.be>
Mon, 14 Jul 2014 14:58:32 +0000 (16:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2014 23:19:36 +0000 (16:19 -0700)
commitd959f17cd13f3079575cecc28f4410934812a59c
treec2d5a3df3af7a9043f368cb2549f1dede4da7af4
parentf1242853e5da98ed2efc75899299238903f7bb34
tcp: Remove unnecessary arg from tcp_enter_cwr and tcp_init_cwnd_reduction

Since Yuchung's cda53a905c7 (tcp: refactor F-RTO), tcp_enter_cwr is always
called with set_ssthresh = 1. Thus, we can remove this argument from
tcp_enter_cwr. Further, as we remove this one, tcp_init_cwnd_reduction
is then always called with set_ssthresh = true, and so we can get rid of
this argument as well.

Cc: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c