The brcmf_netdev_start_xmit() returns NETDEV_TX_OK without freeing skbReviewed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
in case of pskb_expand_head() fails, add dev_kfree_skb() to fix it.
Compile tested only.
Fixes: 270a6c1f65fe ("brcmfmac: rework headroom check in .start_xmit()")
Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>
---
v1->v2: add "Compile tested only" to commit log
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 1 +
1 file changed, 1 insertion(+)
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature