Thread (3 messages) flat view 3 messages, 3 authors, 2021-05-03

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-29 01:20:51
Also in: lkml

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help