Subject: Re: [PATCH v2 net] be2net: fix potential memory leak in be_xmit()

From: Simon Horman <[email-masked]>
Date: Wed, 16 Oct 2024 20:00:46 +0100

On Tue, Oct 15, 2024 at 10:48:02PM +0800, Wang Hai wrote:
> The be_xmit() returns NETDEV_TX_OK without freeing skb
> in case of be_xmit_enqueue() fails, add dev_kfree_skb_any() to fix it.
> 
> Fixes: 760c295e0e8d ("be2net: Support for OS2BMC.")
> Signed-off-by: Wang Hai <[email-masked]>
> ---
> v1->v2: Add label drop_skb for dev_kfree_skb_any()

Thanks for the update.

Reviewed-by: Simon Horman <[email-masked]>