aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lacp/rx_machine.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2021-05-12 14:38:22 -0700
committerDamjan Marion <dmarion@me.com>2021-05-13 20:53:56 +0000
commit9f07085ab37d9bc27d2f2ccc4d651d7295f9b33c (patch)
tree5bda76943958644a596f46dbd38ec02f068572a0 /src/plugins/lacp/rx_machine.c
parente4c8d69013367a545c54df44dcda6b192d408b95 (diff)
lacp: Prohibiting bonding with remote having different key than 1st member
After forming the bonding with 1st remote member, Subsequent member must have the same key in order to join the same bonding group. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I9ff6d6c083a5b6a26beedbd7181d5a120cb5710b
Diffstat (limited to 'src/plugins/lacp/rx_machine.c')
-rw-r--r--src/plugins/lacp/rx_machine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/lacp/rx_machine.c b/src/plugins/lacp/rx_machine.c
index 6e36a661034..2fadbe636cf 100644
--- a/src/plugins/lacp/rx_machine.c
+++ b/src/plugins/lacp/rx_machine.c
@@ -371,9 +371,8 @@ lacp_rx_action_current (void *p1, void *p2)
mif->actor.state &= ~LACP_STATE_EXPIRED;
if (lacp_port_is_moved (vm, mif))
lacp_set_port_moved (vm, mif, 1);
- lacp_selection_logic (vm, mif);
- return 0;
+ return lacp_selection_logic (vm, mif);
}
static u8 *