[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250115163019.3e810c0d@kernel.org>
Date: Wed, 15 Jan 2025 16:30:19 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: David Wei <dw@...idwei.uk>
Cc: io-uring@...r.kernel.org, netdev@...r.kernel.org, Jens Axboe
<axboe@...nel.dk>, Pavel Begunkov <asml.silence@...il.com>, Paolo Abeni
<pabeni@...hat.com>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jesper Dangaard Brouer <hawk@...nel.org>, David
Ahern <dsahern@...nel.org>, Mina Almasry <almasrymina@...gle.com>,
Stanislav Fomichev <stfomichev@...il.com>, Joe Damato <jdamato@...tly.com>,
Pedro Tammela <pctammela@...atatu.com>
Subject: Re: [PATCH net-next v10 01/22] net: make page_pool_ref_netmem work
with net iovs
On Wed, 8 Jan 2025 14:06:22 -0800 David Wei wrote:
> From: Pavel Begunkov <asml.silence@...il.com>
>
> page_pool_ref_netmem() should work with either netmem representation, but
> currently it casts to a page with netmem_to_page(), which will fail with
> net iovs. Use netmem_get_pp_ref_count_ref() instead.
This is a fix, right? If we try to coalesce a cloned netmem skb
we'll crash.
Powered by blists - more mailing lists