aboutgitcodebugslistschat
path: root/doc/platform-requirements/recv-zero.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-07-17 14:52:22 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-07-17 15:30:14 +0200
commit01e5611ec3912f02fb683305db8913f8eca15fee (patch)
treeee87ee8d29202434decff4f70ba07a2691a74e44 /doc/platform-requirements/recv-zero.c
parent66a02c9f7cd5c7a643d9ac5dad5a7209a6e1c467 (diff)
downloadpasst-01e5611ec3912f02fb683305db8913f8eca15fee.tar
passt-01e5611ec3912f02fb683305db8913f8eca15fee.tar.gz
passt-01e5611ec3912f02fb683305db8913f8eca15fee.tar.bz2
passt-01e5611ec3912f02fb683305db8913f8eca15fee.tar.lz
passt-01e5611ec3912f02fb683305db8913f8eca15fee.tar.xz
passt-01e5611ec3912f02fb683305db8913f8eca15fee.tar.zst
passt-01e5611ec3912f02fb683305db8913f8eca15fee.zip
doc: Test behaviour of closing duplicate UDP sockets
To simplify lifetime management of "listening" UDP sockets, UDP flow support needs to duplicate existing bound sockets. Those duplicates will be close()d when their corresponding flow expires, but we expect the original to still receive datagrams as always. That is, we expect the close() on the duplicate to remove the duplicated fd, but not to close the underlying UDP socket. Add a test program to doc/platform-requirements to verify this requirement. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements/recv-zero.c')
0 files changed, 0 insertions, 0 deletions