[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250714111150.GL721198@horms.kernel.org>
Date: Mon, 14 Jul 2025 12:11:50 +0100
From: Simon Horman <horms@...nel.org>
To: Jiawen Wu <jiawenwu@...stnetic.com>
Cc: netdev@...r.kernel.org, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
michal.kubiak@...el.com, mengyuanlou@...-swift.com,
duanqiangwen@...-swift.com, stable@...r.kernel.org
Subject: Re: [PATCH net v2 1/3] net: libwx: remove duplicate
page_pool_put_full_page()
On Mon, Jul 14, 2025 at 10:47:53AM +0800, Jiawen Wu wrote:
> page_pool_put_full_page() should only be invoked when freeing Rx buffers
> or building a skb if the size is too short. At other times, the pages
> need to be reused. So remove the redundant page put. In the original
> code, double free pages cause kernel panic:
...
> Fixes: 3c47e8ae113a ("net: libwx: Support to receive packets in NAPI")
> Cc: stable@...r.kernel.org
> Signed-off-by: Jiawen Wu <jiawenwu@...stnetic.com>
Thanks for the update.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists