Re: [PATCH net-next v4 1/3] net: make napi_frag_unref reuse skb_page_unref

From: Eric Dumazet
Date: Wed Apr 03 2024 - 12:01:33 EST


On Wed, Apr 3, 2024 at 5:28 PM Mina Almasry <almasrymina@xxxxxxxxxx> wrote:
>
> The implementations of these 2 functions are almost identical. Remove
> the implementation of napi_frag_unref, and make it a call into
> skb_page_unref so we don't duplicate the implementation.
>
> Signed-off-by: Mina Almasry <almasrymina@xxxxxxxxxx>

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>