]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bonding: Fix sysfs attribute handling
authorLibor Pechacek <lpechacek@suse.cz>
Sat, 22 Mar 2008 05:29:35 +0000 (22:29 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 03:15:48 +0000 (23:15 -0400)
commit92b41daa45a505268b11de9b7cbde2c13c0223b5
tree0c13ab9c0773a5949547502777a9b829a2fe828c
parent966bc6f434df4a02108d01dda8cd52951fe853da
bonding: Fix sysfs attribute handling

For bonding interfaces any attempt to read the sysfs directory contents after
module removal results in an oops.  The fix is to release sysfs attributes
for the interfaces upon module unload.

Signed-off-by: Libor Pechacek <lpechacek@suse.cz>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c