aboutgitcodebugslistschat
path: root/doc/platform-requirements/Makefile
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/Makefile
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/Makefile')
-rw-r--r--doc/platform-requirements/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/platform-requirements/Makefile b/doc/platform-requirements/Makefile
index 82aaac2..6a7d374 100644
--- a/doc/platform-requirements/Makefile
+++ b/doc/platform-requirements/Makefile
@@ -3,8 +3,8 @@
# Copyright Red Hat
# Author: David Gibson <david@gibson.dropbear.id.au>
-TARGETS = reuseaddr-priority recv-zero
-SRCS = reuseaddr-priority.c recv-zero.c
+TARGETS = reuseaddr-priority recv-zero udp-close-dup
+SRCS = reuseaddr-priority.c recv-zero.c udp-close-dup.c
CFLAGS = -Wall
all: cppcheck clang-tidy $(TARGETS:%=check-%)