Re: [PATCH] cnic: Fix an error handling path in 'cnic_alloc_bnx2x_resc()'

From: David Miller
Date: Sat Sep 23 2017 - 20:12:27 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Fri, 22 Sep 2017 01:01:11 +0200

> All the error handling paths 'goto error', except this one.
> We should also go to error in this case, or some resources will be
> leaking.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Applied, thank you.