Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: mvneta: Fix err code path of probe
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: dc35a10 ("net: mvneta: bm: add support for hardware buffer management") Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information