From 9f07085ab37d9bc27d2f2ccc4d651d7295f9b33c Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Wed, 12 May 2021 14:38:22 -0700 Subject: 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 Change-Id: I9ff6d6c083a5b6a26beedbd7181d5a120cb5710b --- src/plugins/lacp/rx_machine.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/lacp/rx_machine.c') 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 * -- cgit 1.2.3-korg