aboutgitcodebugslistschat
path: root/udp.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-08-04 01:29:59 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-08-04 01:29:59 +0200
commit0017bc3c3e3f666bb190f2c1f808e447e96a10aa (patch)
tree83c6aa5da53af9d9e9fb80041e545e23321101dd /udp.h
parentc62490ffa8b9c41a109bce4cced45d8b0f555c5a (diff)
downloadpasst-0017bc3c3e3f666bb190f2c1f808e447e96a10aa.tar
passt-0017bc3c3e3f666bb190f2c1f808e447e96a10aa.tar.gz
passt-0017bc3c3e3f666bb190f2c1f808e447e96a10aa.tar.bz2
passt-0017bc3c3e3f666bb190f2c1f808e447e96a10aa.tar.lz
passt-0017bc3c3e3f666bb190f2c1f808e447e96a10aa.tar.xz
passt-0017bc3c3e3f666bb190f2c1f808e447e96a10aa.tar.zst
passt-0017bc3c3e3f666bb190f2c1f808e447e96a10aa.zip
tcp: Always allow ACKs when pending, fixes for no_snd_wnd and closing states
We won't necessarily have another choice to ACK in a timely fashion if we skip ACKs from a number of states (including ESTABLISHED) when there's enough window left. Check for ACKed bytes as soon as it makes sense. If the sending window is not reported by the kernel, ACK as soon as we queue onto the socket, given that we're forced to use a rather small window. In FIN_WAIT_1_SOCK_FIN, we also have to account for the FIN flag sent by the peer in the sequence. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.h')
0 files changed, 0 insertions, 0 deletions