aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-04-18 21:45:58 +0000
committerJakub Kicinski <kuba@kernel.org>2024-04-22 14:25:27 -0700
commit22555032c513e62fe744d4cdd553539897e8e922 (patch)
tree00881007c98129efd1e1e4fb3967d47f1f398c4b /tools/testing/selftests/net/lib/py/utils.py
parentf62a5e71277293673c77d8c336e4ef8a2ee16050 (diff)
downloadlinux-22555032c513e62fe744d4cdd553539897e8e922.tar.gz
linux-22555032c513e62fe744d4cdd553539897e8e922.tar.bz2
linux-22555032c513e62fe744d4cdd553539897e8e922.zip
tcp: remove dubious FIN exception from tcp_cwnd_test()
tcp_cwnd_test() has a special handing for the last packet in the write queue if it is smaller than one MSS and has the FIN flag. This is in violation of TCP RFC, and seems quite dubious. This packet can be sent only if the current CWND is bigger than the number of packets in flight. Making tcp_cwnd_test() result independent of the first skb in the write queue is needed for the last patch of the series. Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20240418214600.1291486-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions