summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMahesh Bandewar2015-10-31 20:45:06 +0100
committerDavid S. Miller2015-11-03 04:52:24 +0100
commit7bb11dc9f59ddcb33ee317da77b235235aaa582a (patch)
tree8be0d8a17fa3d7880233c112dc944800608ea625 /scripts
parentbonding: Simplify __get_duplex function. (diff)
downloadkernel-qcow2-linux-7bb11dc9f59ddcb33ee317da77b235235aaa582a.tar.gz
kernel-qcow2-linux-7bb11dc9f59ddcb33ee317da77b235235aaa582a.tar.xz
kernel-qcow2-linux-7bb11dc9f59ddcb33ee317da77b235235aaa582a.zip
bonding: unify all places where actor-oper key needs to be updated.
actor_admin, and actor_oper key is changed at multiple locations in the code. This patch brings all those updates into one location in an attempt to avoid possible inconsistent updates causing LACP state machine to go in weird state. The unified place is ad_update_actor_key() with simple state-machine logic - (a) If port is "duplex" then only it can participate in LACP (b) Speed change reinitializes the LACP state-machine. Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions