[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <59c6347c-2689-24bf-47b8-b635fef2e530@linaro.org>
Date: Sun, 22 May 2022 07:46:07 -0500
From: Alex Elder <elder@...aro.org>
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com
Cc: mka@...omium.org, evgreen@...omium.org, bjorn.andersson@...aro.org,
quic_cpratapa@...cinc.com, quic_avuyyuru@...cinc.com,
quic_jponduru@...cinc.com, quic_subashab@...cinc.com,
elder@...nel.org, netdev@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 0/2] net: ipa: fix page free in two spots
On 5/21/22 7:59 PM, Alex Elder wrote:
> When a receive buffer is not wrapped in an SKB and passed to the
> network stack, the (compound) page gets freed within the IPA driver.
> This is currently quite rare.
>
> The pages are freed using __free_pages(), but they should instead be
> freed using page_put(). This series fixes this, in two spots.
>
> These patches work for Linux v5.18-rc7 and v5.17.y, but won't apply
> cleanly to earlier stable branches. (Nevertheless, the fix is
> trivial.)
>
> -Alex
I accidentally based this on net-next/master rather than net/master.
Sorry about that. I'll send version 2 in a few days.
-Alex
> Alex Elder (2):
> net: ipa: fix page free in ipa_endpoint_trans_release()
> net: ipa: fix page free in ipa_endpoint_replenish_one()
>
> drivers/net/ipa/ipa_endpoint.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)
>
Powered by blists - more mailing lists