summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJiri Bohac <jbohac@suse.cz>2011-04-19 02:09:55 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-04-20 08:44:43 (GMT)
commit2430af8b7fa37ac0be102c77f9dc6ee669d24ba9 (patch)
tree76199ce83fd1ef26f1438302fb2f4898f537531d /net
parent6f4d6dc167a001267eeff18bdea0ce3e9108c662 (diff)
downloadlinux-fsl-qoriq-2430af8b7fa37ac0be102c77f9dc6ee669d24ba9.tar.xz
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 4cd6fe1c6483cde93e2ec91f58b7af9c9eea51ad ("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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions