]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Simplify EBPF TCP_CONGESTION to always init CC
authorNeal Cardwell <ncardwell@google.com>
Thu, 10 Sep 2020 19:35:33 +0000 (15:35 -0400)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 11 Sep 2020 03:53:01 +0000 (20:53 -0700)
commit1a87ac15c89c020a8850bfc0ba1c363312103c9f
treeafdfa162e2a6ca08867624cd26a39e01a3dc5737
parenta435903dcfb8ebb2897a36f22e743656e6314f02
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>
net/core/filter.c