Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 17 Jun 2021 07:32:32 +0800 you wrote:
when usbnet transmit a skb, eem fixup it in eem_tx_fixup(),
if skb_copy_expand() failed, it return NULL,
usbnet_start_xmit() will have no chance to free original skb.
fix it by free orginal skb in eem_tx_fixup() first,
then check skb clone status, if failed, return NULL to usbnet.
[...]
Here is the summary with links:
- [v2] net: cdc_eem: fix tx fixup skb leak
https://git.kernel.org/netdev/net/c/c3b26fdf1b32
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html