From: Yang Yingliang <yangyingli...@huawei.com> Date: Tue, 16 Jun 2020 09:39:21 +0000
> I got a memleak report when doing some fuzz test: ... > If call_netdevice_notifiers() failed, then rollback_registered() > calls netdev_unregister_kobject() which holds the kobject. The > reference cannot be put because the netdev won't be add to todo > list, so it will leads a memleak, we need put the reference to > avoid memleak. > > Reported-by: Hulk Robot <hul...@huawei.com> > Signed-off-by: Yang Yingliang <yangyingli...@huawei.com> Applied and queued up for -stable, thanks.