Re: [PATCH v2 net] net: lan743x: Fix memleak issue when GSO enabled
From: Jacob Keller
Date: Wed Apr 30 2025 - 16:49:46 EST
On 4/28/2025 10:25 PM, Thangaraj Samynathan wrote:
> Always map the `skb` to the LS descriptor. Previously skb was
> mapped to EXT descriptor when the number of fragments is zero with
> GSO enabled. Mapping the skb to EXT descriptor prevents it from
> being freed, leading to a memory leak
>
> Fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver")
> Signed-off-by: Thangaraj Samynathan <thangaraj.s@xxxxxxxxxxxxx>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>