From 01e5611ec3912f02fb683305db8913f8eca15fee Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 17 Jul 2024 14:52:22 +1000 Subject: 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 Signed-off-by: Stefano Brivio --- doc/platform-requirements/.gitignore | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/platform-requirements/.gitignore') diff --git a/doc/platform-requirements/.gitignore b/doc/platform-requirements/.gitignore index 555031d..3b5a10a 100644 --- a/doc/platform-requirements/.gitignore +++ b/doc/platform-requirements/.gitignore @@ -1,2 +1,3 @@ /reuseaddr-priority /recv-zero +/udp-close-dup -- cgit v1.2.3