diff options
author | Wei Wang <weiwan@google.com> | 2019-01-25 19:53:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-27 22:29:43 +0100 |
commit | 31954cd8bb667030b1c0d3d77f28fe71f06999f9 (patch) | |
tree | f00b43f2669ac70db625d8babe06e89cd0a731e2 /crypto/gf128mul.c | |
parent | net: ipv4: ip_input: fix blank line coding style issues (diff) | |
download | linux-31954cd8bb667030b1c0d3d77f28fe71f06999f9.tar.xz linux-31954cd8bb667030b1c0d3d77f28fe71f06999f9.zip |
tcp: Refactor pingpong code
Instead of using pingpong as a single bit information, we refactor the
code to treat it as a counter. When interactive session is detected,
we set pingpong count to TCP_PINGPONG_THRESH. And when pingpong count
is >= TCP_PINGPONG_THRESH, we consider the session in pingpong mode.
This patch is a pure refactor and sets foundation for the next patch.
This patch itself does not change any pingpong logic.
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/gf128mul.c')
0 files changed, 0 insertions, 0 deletions