]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18c925ce495f416e3372d5942a50ba99fa06842b
tree87fd6d0d6358faf1fe41e1e5a79e4ff5b5a85397
parent955de88d262cdbb9fce043b355245f5a7bd122af
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