diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-04-25 10:46:42 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-04-29 17:12:59 +0200 |
commit | 48afbe321eddfb68966a4436884c022e64c3e166 (patch) | |
tree | e77e395c1cf3e27ce2bb65864fda5622fa275e20 /udp.c | |
parent | b3b3451ae26ad53b80ee73182a333716573397f8 (diff) | |
download | passt-48afbe321eddfb68966a4436884c022e64c3e166.tar passt-48afbe321eddfb68966a4436884c022e64c3e166.tar.gz passt-48afbe321eddfb68966a4436884c022e64c3e166.tar.bz2 passt-48afbe321eddfb68966a4436884c022e64c3e166.tar.lz passt-48afbe321eddfb68966a4436884c022e64c3e166.tar.xz passt-48afbe321eddfb68966a4436884c022e64c3e166.tar.zst passt-48afbe321eddfb68966a4436884c022e64c3e166.zip |
tcp: Preserve data sent during SOCK_SYN_SENT state
Seen with iperf3 server on tap side: connection state is SOCK_SYN_SENT,
we haven't got an ACK from the tap yet (that's why we're not in
ESTABLISHED), but a data packet comes. Don't read this data until we
reach the ESTABLISHED state, by keeping EPOLLIN disabled until that
point.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions