Re: [PATCH wireless] wilc1000: fix potential memory leak in wilc_mac_xmit()

From: Kalle Valo
Date: Thu Nov 17 2022 - 05:10:03 EST


Zhang Changzhong <zhangchangzhong@xxxxxxxxxx> writes:

> The wilc_mac_xmit() returns NETDEV_TX_OK without freeing skb, add
> dev_kfree_skb() to fix it.
>
> Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver")
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>

Same as in your other patch, have you tested this is on a real device?

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches