Skip to content

gnrc_ipv6_ext_frag: fix some corner cases#21937

Merged
maribu merged 4 commits intoRIOT-OS:masterfrom
miri64:gnrc_ipv6_ext_frag/fix/corner-cases
Dec 6, 2025
Merged

gnrc_ipv6_ext_frag: fix some corner cases#21937
maribu merged 4 commits intoRIOT-OS:masterfrom
miri64:gnrc_ipv6_ext_frag/fix/corner-cases

Conversation

@miri64
Copy link
Copy Markdown
Member

@miri64 miri64 commented Dec 5, 2025

Contribution description

Some corner cases that caused some issues when using IPv6 fragmentation.

Testing procedure

Test cases are provided for tests/net/gnrc_ipv6_ext_frag, the test suite requires #21935 to run on native64.

Issues/PRs references

Requires #21935.

This case can happen if a second, but larger first fragment is send
after a smaller.
@miri64 miri64 requested a review from benpicco December 5, 2025 17:35
@miri64 miri64 added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Dec 5, 2025
@github-actions github-actions bot added Area: network Area: Networking Area: tests Area: tests and testing framework Area: sys Area: System labels Dec 5, 2025
@miri64 miri64 force-pushed the gnrc_ipv6_ext_frag/fix/corner-cases branch from 0217f22 to af2bf25 Compare December 5, 2025 17:45
@maribu maribu enabled auto-merge December 5, 2025 18:11
@riot-ci
Copy link
Copy Markdown

riot-ci commented Dec 5, 2025

Murdock results

✔️ PASSED

af2bf25 tests: amend IPv6 reassembly test for empty fragments

Success Failures Total Runtime
10950 0 10950 13m:05s

Artifacts

@maribu maribu added this pull request to the merge queue Dec 5, 2025
Merged via the queue into RIOT-OS:master with commit f19f1c6 Dec 6, 2025
26 checks passed
@miri64 miri64 deleted the gnrc_ipv6_ext_frag/fix/corner-cases branch December 6, 2025 01:12
@miri64
Copy link
Copy Markdown
Member Author

miri64 commented Dec 6, 2025

Backport provided in #21940

@leandrolanzieri leandrolanzieri added this to the Release 2026.01 milestone Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: network Area: Networking Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants