Re: [PATCH] net: mvneta: Fix err code path of probe
From: David Miller
Date: Tue May 28 2019 - 14:09:23 EST
From: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
Date: Mon, 27 May 2019 11:04:17 +0000
> Fix below issues in err code path of probe:
> 1. we don't need to unregister_netdev() because the netdev isn't
> registered.
> 2. when register_netdev() fails, we also need to destroy bm pool for
> HWBM case.
>
> Fixes: dc35a10f68d3 ("net: mvneta: bm: add support for hardware buffer management")
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
Applied and queued up for -stable.