From: Wang Hai <wangha...@huawei.com>
Date: Thu, 4 Jun 2020 20:18:51 +0800

> If register_netdev(dev) fails, free_netdev(dev) needs
> to be called, otherwise a memory leak will occur.
> 
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Reported-by: Hulk Robot <hul...@huawei.com>
> Signed-off-by: Wang Hai <wangha...@huawei.com>

Applied, thanks.

Reply via email to