linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] net-sysfs: revert wrong bugfix and re-fix
@ 2019-04-12 20:36 Wang Hai
  2019-04-12 20:36 ` [PATCH 1/2] Revert "net-sysfs: Fix memory leak in netdev_register_kobject" Wang Hai
  2019-04-12 20:36 ` [PATCH 2/2] net-sysfs: Fix memory leak in netdev_register_kobject Wang Hai
  0 siblings, 2 replies; 12+ messages in thread
From: Wang Hai @ 2019-04-12 20:36 UTC (permalink / raw)
  To: davem, idosch, eric.dumazet, alexander.h.duyck, tyhicks,
	f.fainelli, viro, amritha.nambiar, joe, dmitry.torokhov,
	andriy.shevchenko, stephen
  Cc: netdev, linux-kernel, wanghai26

First patch reverts the bugfix which cause another issue.
Reported by syzbot+6024817a931b2830bc93@syzkaller.appspotmail.com. 
See https://syzkaller.appspot.com/x/log.txt?x=1737671b200000 for details
Second patch improves the first(reverted) patch.
Applied these two patches. I tested, the memory leak issue
wasn't reproduced, and it didn't produce the bug which
reported by syzkaller.

Wang Hai (2):
  Revert "net-sysfs: Fix memory leak in netdev_register_kobject"
  net-sysfs: Fix memory leak in netdev_register_kobject

 net/core/net-sysfs.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-04-15 20:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-12 20:36 [PATCH 0/2] net-sysfs: revert wrong bugfix and re-fix Wang Hai
2019-04-12 20:36 ` [PATCH 1/2] Revert "net-sysfs: Fix memory leak in netdev_register_kobject" Wang Hai
2019-04-12  8:38   ` Andy Shevchenko
2019-04-15 20:10   ` David Miller
2019-04-12 20:36 ` [PATCH 2/2] net-sysfs: Fix memory leak in netdev_register_kobject Wang Hai
2019-04-12  8:38   ` Andy Shevchenko
2019-04-12 12:08     ` wanghai (M)
2019-04-12 12:50       ` Al Viro
2019-04-12 13:03   ` Eric Dumazet
2019-04-12 13:20     ` Andy Shevchenko
2019-04-12 13:33       ` wanghai (M)
2019-04-12 13:28     ` wanghai (M)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).