aboutsummaryrefslogtreecommitdiff
path: root/kernel/power/Kconfig
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-05-02 17:49:37 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-05-06 12:01:27 -0400
commit822973ba79fd5a5b711270c2de7196c6b50c6687 (patch)
treedfed6d24c5a9a82cb1b82279534745e889b534ad /kernel/power/Kconfig
parent9d1045ad68fcccfaf1393cc463ab6357693e8d1d (diff)
bonding: Do not call free_netdev for already registered device.
If the call to bond_create_sysfs_entry in bond_create fails, the proper rollback is to call unregister_netdevice, not free_netdev. Otherwise - kernel BUG at net/core/dev.c:4057! Checked with artificial failures injected into bond_create_sysfs_entry. Pavel's original patch modified by Jay Vosburgh to move code around for clarity (remove goto-hopping within the unwind block). Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'kernel/power/Kconfig')
0 files changed, 0 insertions, 0 deletions