Skip to content

tokio-quiche: reserve cmsg space for packet info - #2897

Merged
nmicht merged 1 commit into
masterfrom
minaz/fix-gro-cmsg
Nov 18, 2026
Merged

nmicht merged 1 commit into
masterfrom
minaz/fix-gro-cmsg

Conversation

@inamdarminaz

Copy link
Copy Markdown
Contributor

Reserve space for IP_PKTINFO and IPV6_PKTINFO to prevent ancillary data truncation from losing GRO metadata after receive queue drops. Use u32 for SO_RXQ_OVFL to match the kernel's drop-counter type.

Add a Linux regression test covering IPv4, IPv6 and IPv4-mapped traffic on dual-stack sockets.

Reserve space for IP_PKTINFO and IPV6_PKTINFO to prevent ancillary
data truncation from losing GRO metadata after receive queue drops.
Use u32 for SO_RXQ_OVFL to match the kernel's drop-counter type.

Add a Linux regression test covering IPv4, IPv6 and IPv4-mapped
traffic on dual-stack sockets.
@ask-bonk

ask-bonk Bot commented Nov 17, 2026

Copy link
Copy Markdown

LGTM!

github run

@inamdarminaz
inamdarminaz marked this pull request as ready for review November 17, 2026 21:47
@inamdarminaz
inamdarminaz requested a review from a team as a code owner November 17, 2026 21:47
@nmicht
nmicht merged commit d448b6b into master Nov 18, 2026
39 checks passed
@nmicht
nmicht deleted the minaz/fix-gro-cmsg branch November 18, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants