Re: [net] ipv6: sr: fix missing sk_buff release in seg6_input_core

From: patchwork-bot+netdevbpf
Date: Mon May 20 2024 - 06:40:36 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 17 May 2024 18:45:41 +0200 you wrote:
> The seg6_input() function is responsible for adding the SRH into a
> packet, delegating the operation to the seg6_input_core(). This function
> uses the skb_cow_head() to ensure that there is sufficient headroom in
> the sk_buff for accommodating the link-layer header.
> In the event that the skb_cow_header() function fails, the
> seg6_input_core() catches the error but it does not release the sk_buff,
> which will result in a memory leak.
>
> [...]

Here is the summary with links:
- [net] ipv6: sr: fix missing sk_buff release in seg6_input_core
https://git.kernel.org/netdev/net/c/5447f9708d9e

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