Re: [PATCH net v1] mctp: i2c: fix skb memory leak in receive path

From: patchwork-bot+netdevbpf

Date: Tue Mar 10 2026 - 06:20:15 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Thu, 5 Mar 2026 22:32:34 +0800 you wrote:
> When 'midev->allow_rx' is false, the newly allocated skb isn't consumed
> by netif_rx(), it needs to free the skb directly.
>
> Fixes: f5b8abf9fc3d ("mctp i2c: MCTP I2C binding driver")
> Signed-off-by: Haiyue Wang <haiyuewa@xxxxxxx>
> ---
> drivers/net/mctp/mctp-i2c.c | 1 +
> 1 file changed, 1 insertion(+)

Here is the summary with links:
- [net,v1] mctp: i2c: fix skb memory leak in receive path
https://git.kernel.org/netdev/net/c/e3f5e0f22cfc

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