Skip to content

net-sysfs: revert wrong bugfix and re-fix

Wang Hai lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "net-sysfs: Fix memory leak in netdev_register_kobject"net/core/net-sysfs.c+5 -92 replies
2/2net-sysfs: Fix memory leak in netdev_register_kobjectnet/core/net-sysfs.c+9 -57 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] net-sysfs: revert wrong bugfix and re-fix

First patch reverts the bugfix which cause another issue. Reported by [email protected]. 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(-)
Signature · 1 line
1.8.3.1