]> git.baikalelectronics.ru Git - kernel.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)
commit7c3f134c70755b46301de5db745ff955ceb350b1
tree0c13ab9c0773a5949547502777a9b829a2fe828c
parent750c568a9a1beecadce3c2e0a67d350fbd07b9ea
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