[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170024162354.26596.18193202556756297538.git-patchwork-notify@kernel.org>
Date: Fri, 17 Nov 2023 17:20:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: heminhong <heminhong@...inos.cn>
Cc: petrm@...dia.com, netdev@...r.kernel.org, stephen@...workplumber.org
Subject: Re: [PATCH v4] iproute2: prevent memory leak
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@...workplumber.org>:
On Thu, 16 Nov 2023 11:13:08 +0800 you wrote:
> When the return value of rtnl_talk() is not less than 0,
> 'answer' will be allocated. The 'answer' should be free
> after using, otherwise it will cause memory leak.
>
> Signed-off-by: heminhong <heminhong@...inos.cn>
> ---
> ip/link_gre.c | 3 ++-
> ip/link_gre6.c | 3 ++-
> ip/link_ip6tnl.c | 3 ++-
> ip/link_iptnl.c | 3 ++-
> ip/link_vti.c | 3 ++-
> ip/link_vti6.c | 3 ++-
> 6 files changed, 12 insertions(+), 6 deletions(-)
Here is the summary with links:
- [v4] iproute2: prevent memory leak
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=2c3ebb2ae08a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists