[PATCH] mt76: mt76u: add missing release on skb in __mt76x02u_mcu_send_msg

Markus Elfring Markus.Elfring at web.de
Sat Jul 18 11:20:06 EDT 2020


…
> +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c
…
> @@ -111,6 +113,7 @@ __mt76x02u_mcu_send_msg(struct mt76_dev *dev, struct sk_buff *skb,
>  	if (wait_resp)
>  		ret = mt76x02u_mcu_wait_resp(dev, seq);
>
> +out:
>  	consume_skb(skb);
…

I suggest to use the label “consume_skb”.

Would you like to add the tag “Fixes” to the commit message?

Regards,
Markus



More information about the Linux-mediatek mailing list