diff options
author | Peter Pan(潘卫平) <panweiping3@gmail.com> | 2011-06-08 21:19:02 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-09 22:02:19 (GMT) |
commit | 56d00c677de0a6285587af4f6c6f10aef3209f9f (patch) | |
tree | eee1af15c0b836495d59e42053bac065827a1618 /net/802/stp.c | |
parent | ba824a8b2d77942d51ce45ed721f65764c00ab50 (diff) | |
download | linux-56d00c677de0a6285587af4f6c6f10aef3209f9f.tar.xz |
bonding:delete lacp_fast from ad_bond_info
These is also a bug, that if you modify lacp_rate via sysfs,
and add new slaves in bonding, new slaves won't use the latest lacp_rate,
since ad_bond_info->lacp_fast is initialized only once,
in bond_3ad_initialize().
Since both struct bond_params and ad_bond_info have lacp_fast,
they are duplicate and need extra synchronization.
bond_3ad_bind_slave() can use bond_params->lacp_fast to initialize port.
So we can just remove lacp_fast from struct ad_bond_info.
Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802/stp.c')
0 files changed, 0 insertions, 0 deletions