Thread (1 message) 1 message, 1 author, 2022-10-27

Re: [PATCH net v2] net: wwan: iosm: fix memory leak in ipc_wwan_dellink

From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-10-27 17:46:23
Also in: lkml

On Thu, 27 Oct 2022 15:02:06 +0800 zhaoping.shu wrote:
From: hw.he <redacted>

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 <redacted>
Reviewed-by: Loic Poulain <redacted>
Signed-off-by: zhaoping.shu <redacted>
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help