Re: [PATCH net] net: bgmac: fix TX DMA unmapping on fragment mapping failure

From: Simon Horman

Date: Wed Oct 21 2026 - 11:44:03 EST


On Sun, Oct 18, 2026 at 04:23:48PM -0700, Rosen Penev wrote:
> On Sun, Oct 18, 2026 at 4:18 PM <netdev-bot+sinfo@xxxxxxxxxx> wrote:
> >
> > Hi!
> >
> > This is an automated message. This series looks like a fix, but its
> > commit messages seem to be missing some information:
> >
> > - How the issue was discovered, e.g. hit in production, hit during
> > development, syzbot report, manual code inspection, LLM or static
> > analysis tool scan.
> >
> > - Whether the issue was actually triggered, or is only theoretical
> > (e.g. found by code inspection). If it was triggered please include
> > the symptoms, like the stack trace or error messages.
> This was found by an AI review of a related bgmac patch and confirmed by
> code inspection. It has not been observed in practice; it requires a
> fragment DMA mapping failure. Compile tested only; not tested on
> hardware.

Although this has not been exercised on hardware, the logic does
look correct to me (now, not before!). And it does seem realistic
to expect DMA mapping failures can occur on systems under pressure.

So I lean towards this being net material.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>

...