Re: [PATCH net v2] net: wwan: iosm: fix memory leak in ipc_wwan_dellink
From: Jakub Kicinski
Date: Thu Oct 27 2022 - 13:46:23 EST
On Thu, 27 Oct 2022 15:02:06 +0800 zhaoping.shu wrote:
> From: hw.he <hw.he@xxxxxxxxxxxx>
>
> IOSM driver registers network device without setting the
> needs_free_netdev flag, and does NOT call free_netdev() when
> unregisters network device, which causes a memory leak.
>
> This patch sets needs_free_netdev to true when registers
> network device, which makes netdev subsystem call free_netdev()
> automatically after unregister_netdevice().
>
> Fixes: 2a54f2c77934 ("net: iosm: net driver")
> Signed-off-by: hw.he <hw.he@xxxxxxxxxxxx>
> Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>
> Signed-off-by: zhaoping.shu <zhaoping.shu@xxxxxxxxxxxx>
Annoyingly the patches are still not making it to the list.
John, any hints you can gather from vger's logs? The patches
were resent 3 times with a 0 success rate.
Last time we hit this was with Gmail, but it doesn't seem like
mediatek.com is using Google Mail?