Commit ffcdedb
Revert "bonding: remove sysfs before removing devices"
This reverts commit 4de79c7.
This patch introduces a new bug which causes access to freed memory.
In bond_uninit: list_del(&bond->bond_list);
bond_list is linked in bond_net's dev_list which is freed by
unregister_pernet_subsys.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 0f27f57 commit ffcdedb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4902 | 4902 | | |
4903 | 4903 | | |
4904 | 4904 | | |
4905 | | - | |
4906 | 4905 | | |
| 4906 | + | |
4907 | 4907 | | |
4908 | 4908 | | |
4909 | 4909 | | |
| |||
0 commit comments