Re: [PATCH 1/2] Revert "net-sysfs: Fix memory leak in netdev_register_kobject"

From: David Miller
Date: Mon Apr 15 2019 - 16:10:56 EST


From: Wang Hai <wanghai26@xxxxxxxxxx>
Date: Fri, 12 Apr 2019 16:36:33 -0400

> This reverts commit 6b70fc94afd165342876e53fc4b2f7d085009945.
>
> The reverted bugfix will cause another issue.
> Reported by syzbot+6024817a931b2830bc93@xxxxxxxxxxxxxxxxxxxxxxxxxx
> See https://syzkaller.appspot.com/x/log.txt?x=1737671b200000 for
> details.
>
> Signed-off-by: Wang Hai <wanghai26@xxxxxxxxxx>

I'll just apply this by itself.

Thanks Wang.