Spurious error causes GSO to be disabled

Open
#837 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
linux, rust
Domain
networking

Research direction

Start by locating the libc::sendmsg failure path that logs “halting segmentation offload” in noq-udp; the issue does not name a file or test. Read how that path handles Invalid argument and how GSO is configured for callers outside iroh. Done when the cause of the false disablement is identified and a regression test covers the reported case.

Written by the indexing model from the issue text.

Description

I am using noq-udp in a crate other than iroh (via n0-mainline).

I found a message in a log that seems to indicate that we disable segmentation offload due to an invalid argument error. I am certain this machine (a linux box) does support GSO.

I don't actually use GSO/GRO yet in n0-mainline, but I want to in the future.

Sep 29 02:23:40 rudi-eu-1 udp-addr-index[198250]: 2026-09-29T02:23:40.794032Z  INFO noq_udp::imp: `libc::sendmsg` failed with Invalid argument (os error 22); halting segmentation offload

Iroh

Version:

noq-udp v1.3.0
n0-mainline v0.6.0

n/a

Platform(s)

Ubuntu 26.04.1 LTS

  • This issue was created by a human that thought critically about
    the issue being reported and wrote this as concisely and clearly
    as they could. Taking full responsibility for the issue being
    accurate.
  • This issue isn't slop, and is backed up by evidence.
Dominant language
Rust
Stars
454
Forks
98
Avg merge
2d 8h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from n0-computer/noq

All issues in n0-computer/noq

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.