android_kernel_xiaomi_sm8350/drivers/net/bonding
Jay Vosburgh 5af47b2ff1 [PATCH] bonding: UPDATED hash-table corruption in bond_alb.c
I believe I see the race Michael refers to (tlb_choose_channel
may set head, which tlb_init_slave clears), although I was not able to
reproduce it.  I have updated his patch for the current netdev-2.6.git
tree and added a version update.  His original comment follows:

Our systems have been crashing during testing of PCI HotPlug
support in the various networking components.  We've faulted in
the bonding driver due to a bug in bond_alb.c:tlb_clear_slave()

In that routine, the last modification to the TLB hash table is
made without protection of the lock, allowing a race that can lead
tlb_choose_channel() to select an invalid table element.

	-J

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2006-01-12 16:35:39 -05:00
..
bond_3ad.c [bonding] Remove superfluous changelog. 2005-11-28 13:54:22 -05:00
bond_3ad.h [bonding] Remove superfluous changelog. 2005-11-28 13:54:22 -05:00
bond_alb.c [PATCH] bonding: UPDATED hash-table corruption in bond_alb.c 2006-01-12 16:35:39 -05:00
bond_alb.h [bonding] Remove superfluous changelog. 2005-11-28 13:54:22 -05:00
bond_main.c [bonding] Remove superfluous changelog. 2005-11-28 13:54:22 -05:00
bond_sysfs.c [bonding] Remove superfluous changelog. 2005-11-28 13:54:22 -05:00
bonding.h [PATCH] bonding: UPDATED hash-table corruption in bond_alb.c 2006-01-12 16:35:39 -05:00
Makefile [PATCH] bonding: add sysfs functionality to bonding (large) 2005-11-13 14:48:21 -05:00