aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_cong.c
diff options
context:
space:
mode:
authorNeal Cardwell <ncardwell@google.com>2020-09-10 15:35:33 -0400
committerAlexei Starovoitov <ast@kernel.org>2020-09-10 20:53:01 -0700
commite7b10a4dd1b13c8fb8ee1686da7d01437c5da1d2 (patch)
treeafdfa162e2a6ca08867624cd26a39e01a3dc5737 /net/ipv4/tcp_cong.c
parenttcp: Only init congestion control if not initialized already (diff)
downloadlinux-dev-e7b10a4dd1b13c8fb8ee1686da7d01437c5da1d2.tar.xz
linux-dev-e7b10a4dd1b13c8fb8ee1686da7d01437c5da1d2.zip
tcp: Simplify EBPF TCP_CONGESTION to always init CC
Now that the previous patch ensures we don't initialize the congestion control twice, when EBPF sets the congestion control algorithm at connection establishment we can simplify the code by simply initializing the congestion control module at that time. Signed-off-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yuchung Cheng <ycheng@google.com> Acked-by: Kevin Yang <yyd@google.com> Cc: Lawrence Brakmo <brakmo@fb.com>
Diffstat (limited to 'net/ipv4/tcp_cong.c')
0 files changed, 0 insertions, 0 deletions