Thread (3 messages) flat view 3 messages, 3 authors, 2026-01-27

Re: [PATCH] rocker: fix memory leak in rocker_world_port_post_fini()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-01-27 03:40:11
Also in: lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Sat, 24 Jan 2026 05:10:31 +0800 you wrote:
In rocker_world_port_pre_init(), rocker_port->wpriv is allocated with
kzalloc(wops->port_priv_size, GFP_KERNEL). However, in
rocker_world_port_post_fini(), the memory is only freed when
wops->port_post_fini callback is set:

    if (!wops->port_post_fini)
        return;
    wops->port_post_fini(rocker_port);
    kfree(rocker_port->wpriv);

[...]
Here is the summary with links:
  - rocker: fix memory leak in rocker_world_port_post_fini()
    https://git.kernel.org/netdev/net/c/8d7ba71e4621

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help