<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/dm/net_defrag.c, branch next</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/dm/net_defrag.c?h=next</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/dm/net_defrag.c?h=next'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-07-30T11:56:26Z</updated>
<entry>
<title>test: net: add regression test for IP reassembly overflow</title>
<updated>2026-07-30T11:56:26Z</updated>
<author>
<name>Shahriyar Jalayeri</name>
<email>shahriyar@byteray.co.uk</email>
</author>
<published>2026-07-28T06:50:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7946774a0feb40a4abc71e749e61071ffce56979'/>
<id>urn:sha1:7946774a0feb40a4abc71e749e61071ffce56979</id>
<content type='text'>
Add a DM test that feeds __net_defragment() a single crafted fragment
whose trailing hole descriptor lands just past pkt_buff.  Without the
preceding fix the 8-byte hole write goes out of bounds; with it the
fragment is dropped and no datagram is delivered.

Signed-off-by: Shahriyar Jalayeri &lt;shahriyar@byteray.co.uk&gt;
Acked-by: Jerome Forissier &lt;jerome.forissier@arm.com&gt;
</content>
</entry>
<entry>
<title>test: net: add IP defragmentation duplicate-fragment regression test</title>
<updated>2026-06-23T11:13:16Z</updated>
<author>
<name>Mateusz Furdyna</name>
<email>mateusz.furdyna@nokia.com</email>
</author>
<published>2026-06-10T14:25:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8382c2ad5284fdfffb6848fb429c40fdf169bf3a'/>
<id>urn:sha1:8382c2ad5284fdfffb6848fb429c40fdf169bf3a</id>
<content type='text'>
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 &lt;mateusz.furdyna@nokia.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
