Re: [PATCH] [v2] net: ipv4: fix a memleak in ip_setup_cork

From: patchwork-bot+netdevbpf
Date: Wed Jan 31 2024 - 19:06:48 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 29 Jan 2024 17:10:17 +0800 you wrote:
> When inetdev_valid_mtu fails, cork->opt should be freed if it is
> allocated in ip_setup_cork. Otherwise there could be a memleak.
>
> Fixes: 501a90c94510 ("inet: protect against too small mtu values.")
> Signed-off-by: Zhipeng Lu <alexious@xxxxxxxxxx>
> ---
> Changelog:
>
> [...]

Here is the summary with links:
- [v2] net: ipv4: fix a memleak in ip_setup_cork
https://git.kernel.org/netdev/net/c/5dee6d692345

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