Re: [PATCH] net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'

From: David Miller
Date: Tue Aug 06 2019 - 14:34:39 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Tue, 6 Aug 2019 10:55:12 +0200

> A call to 'kfree_skb()' is missing in the error handling path of
> 'init_one()'.
> This is already present in 'remove_one()' but is missing here.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Looks good, applied, thanks.