Re: [PATCH v2 net] net: mellanox: mlxbf_gige: Fix skb_panic splat under memory pressure

From: Simon Horman
Date: Thu May 25 2023 - 04:42:19 EST

On Wed, May 24, 2023 at 09:49:08PM +0200, Thomas Bogendoerfer wrote:
> Do skb_put() after a new skb has been successfully allocated otherwise
> the reused skb leads to skb_panics or incorrect packet sizes.
> Fixes: f92e1869d74e ("Add Mellanox BlueField Gigabit Ethernet driver")
> Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>