aboutgitcodebugslistschat
path: root/doc/platform-requirements/udp-close-dup.c
Commit message (Collapse)AuthorAgeFilesLines
* doc: Test behaviour of closing duplicate UDP socketsDavid Gibson2024-07-171-0/+105
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>