RE: [PATCH v3] mbuf: fix packet copy

Morten Brørup
2026-02-25T17:18:08Z

> From: Kevin Traynor [mailto:ktraynor@redhat.com]
> Sent: Wednesday, 25 February 2026 16.59
>
> On 10/02/2026 17:21, Thomas Monjalon wrote:
> > 20/01/2026 08:24, Morten Brørup:
> >> mbuf: fix packet copy
> >>
> >> Requests for copying the at the end of a packet incorrectly returned
> NULL,
> >> as if copying past the end of a packet.
> >>
> >> When allocating the mbuf for the copy from a mempool using pinned
> external
> >> buffers, the external flag in this mbuf was not preserved.
> >>
> >> Fixes: c3a90c381daa ("mbuf: add a copy routine")
> >>
> >> Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
> >> Acked-by: Konstantin Ananyev <konstantin.ananyev@huawei.com>
> >
> > Applied, thanks.
> >
> >
> >
> Hi All. I see this is not marked for stable release. Is it deliberate
> because of the flags changes ?

IIRC, the consensus was that using pinned external buffers is considered exotic, so the bug is unlikely to occur in real applications. And if it did happen, we would have heard about it.

But, since you ask, we really should have left that decision to the stable tree maintainers.

-Morten