diff options
author | Yuchung Cheng <ycheng@google.com> | 2019-01-09 03:12:24 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-01-10 00:17:46 +0100 |
commit | 31aa6503a15ba00182ea6dbbf51afb63bf9e851d (patch) | |
tree | c178cabac27fe84159c2385fa85a2e282b048832 /fs/bfs/dir.c | |
parent | packet: Do not leak dev refcounts on error exit (diff) | |
download | linux-31aa6503a15ba00182ea6dbbf51afb63bf9e851d.tar.xz linux-31aa6503a15ba00182ea6dbbf51afb63bf9e851d.zip |
bpf: correctly set initial window on active Fast Open sender
The existing BPF TCP initial congestion window (TCP_BPF_IW) does not
to work on (active) Fast Open sender. This is because it changes the
(initial) window only if data_segs_out is zero -- but data_segs_out
is also incremented on SYN-data. This patch fixes the issue by
proerly accounting for SYN-data additionally.
Fixes: fc7478103c84 ("bpf: Adds support for setting initial cwnd")
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'fs/bfs/dir.c')
0 files changed, 0 insertions, 0 deletions