Re: [PATCH v2] cxgb4: add missing release on skb in uld_send()

From: David Miller
Date: Wed Jul 22 2020 - 21:14:39 EST


From: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
Date: Wed, 22 Jul 2020 13:57:21 -0500

> In the implementation of uld_send(), the skb is consumed on all
> execution paths except one. Release skb when returning NET_XMIT_DROP.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
> ---
> changes in v2:
> - using kfree_skb() based on David Miller suggestion.

This doesn't apply to any of my networking GIT trees.

Please base this on either 'net' or 'net-next' as appropriate,
and indicate this in your Subject line f.e. "[PATCH net v2] ..."

Thank you.