Skip to content
Commit ffcdedb6 authored by nikolay@redhat.com's avatar nikolay@redhat.com Committed by David S. Miller
Browse files

Revert "bonding: remove sysfs before removing devices"

This reverts commit 4de79c73

.

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: default avatarNikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0f27f575
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment