linux-sg2042/drivers/net/bonding
Jiri Bohac 2430af8b7f bonding: 802.3ad - fix agg_device_up
The slave member of struct aggregator does not necessarily point
to a slave which is part of the aggregator. It points to the
slave structure containing the aggregator structure, while
completely different slaves (or no slaves at all) may be part of
the aggregator.

The agg_device_up() function wrongly uses agg->slave to find the state
of the aggregator.  Use agg->lag_ports->slave instead. The bug has
been introduced by commit 4cd6fe1c64
("bonding: fix link down handling in 802.3ad mode").

Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-20 01:44:43 -07:00
..
Makefile bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00
bond_3ad.c bonding: 802.3ad - fix agg_device_up 2011-04-20 01:44:43 -07:00
bond_3ad.h bonding 802.3ad: Rename rx_machine_lock to state_machine_lock 2011-03-07 16:02:18 -08:00
bond_alb.c bonding:fix two typos 2011-04-11 13:15:56 -07:00
bond_alb.h net: fix tranmitted/tranmitting typo 2011-04-11 13:15:56 -07:00
bond_debugfs.c bonding: add the debugfs interface to see RLB hash table 2010-12-16 13:16:05 -08:00
bond_ipv6.c bonding/vlan: Fix mangled NAs on slaves without VLAN tag insertion 2010-12-16 12:43:22 -08:00
bond_main.c bonding: fix rx_handler locking 2011-03-23 12:45:10 -07:00
bond_procfs.c bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00
bond_sysfs.c bonding: get rid of IFF_SLAVE_INACTIVE netdev->priv_flag 2011-03-16 12:51:20 -07:00
bonding.h bonding: fix rx_handler locking 2011-03-23 12:45:10 -07:00