bonding: make 802.3ad use latest lacp_rate
authorPeter Pan(潘卫平) <panweiping3@gmail.com>
Wed, 8 Jun 2011 21:19:01 +0000 (21:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jun 2011 22:02:18 +0000 (15:02 -0700)
commitba824a8b2d77942d51ce45ed721f65764c00ab50
tree87fd6d0d6358faf1fe41e1e5a79e4ff5b5a85397
parentb880a954b9e2585ce325aedd76e4741880cab180
bonding: make 802.3ad use latest lacp_rate

There is bug that when you modify lacp_rate via sysfs,
802.3ad won't use the new value of lacp_rate to transmit packets.
This is because port->actor_oper_port_state isn't changed.

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>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_3ad.h
drivers/net/bonding/bond_sysfs.c