summaryrefslogtreecommitdiff
path: root/test/dm/Makefile
diff options
context:
space:
mode:
authorMateusz Furdyna <[email protected]>2026-06-10 16:25:34 +0200
committerJerome Forissier <[email protected]>2026-06-23 13:13:16 +0200
commit8382c2ad5284fdfffb6848fb429c40fdf169bf3a (patch)
treeb3a9d2c25f21926dea96b215696b820f714a5da0 /test/dm/Makefile
parentb1aec609bb5e0d08c25c888c91935287ab4ee5fa (diff)
test: net: add IP defragmentation duplicate-fragment regression test
Add a unit test for the IP datagram reassembler (CONFIG_IP_DEFRAG) that covers the duplicate-last-fragment scenario. Without the fix the last fragment will re-trigger datagram delivery, increasing udp_rx_count to 2 and effectively failing the test; with it applied the test passes with udp_rx_count == 1. Signed-off-by: Mateusz Furdyna <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'test/dm/Makefile')
-rw-r--r--test/dm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile
index d69b0e08d66..0e3c63568dd 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -76,6 +76,7 @@ obj-$(CONFIG_MULTIPLEXER) += mux-emul.o
obj-$(CONFIG_MUX_MMIO) += mux-mmio.o
obj-y += fdtdec.o
obj-$(CONFIG_MTD_RAW_NAND) += nand.o
+obj-$(CONFIG_IP_DEFRAG) += net_defrag.o
obj-$(CONFIG_UT_DM) += nop.o
obj-y += ofnode.o
obj-y += ofread.o