Re: [PATCH] drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit

From: patchwork-bot+netdevbpf
Date: Sun Mar 28 2021 - 21:20:51 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Sun, 28 Mar 2021 00:50:08 -0700 you wrote:
> In pvc_xmit, if __skb_pad(skb, pad, false) failed, it will free
> the skb in the first time and goto drop. But the same skb is freed
> by kfree_skb(skb) in the second time in drop.
>
> Maintaining the original function unchanged, my patch adds a new
> label out to avoid the double free if __skb_pad() failed.
>
> [...]

Here is the summary with links:
- drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit
https://git.kernel.org/netdev/net/c/1b479fb80160

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