Zhang Changzhong <zhangchangzhong@xxxxxxxxxx> wrote: > The wilc_mac_xmit() returns NETDEV_TX_OK without freeing skb, add > dev_kfree_skb() to fix it. Compile tested only. > > Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver") > Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx> Patch applied to wireless-next.git, thanks. deb962ec9e1c wifi: wilc1000: fix potential memory leak in wilc_mac_xmit() -- https://patchwork.kernel.org/project/linux-wireless/patch/1668684964-48622-1-git-send-email-zhangchangzhong@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches