[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190528.110558.1330628926671013610.davem@davemloft.net>
Date: Tue, 28 May 2019 11:05:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Jisheng.Zhang@...aptics.com
Cc: thomas.petazzoni@...tlin.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] net: mvneta: Fix err code path of probe
From: Jisheng Zhang <Jisheng.Zhang@...aptics.com>
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@...aptics.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists