bonding: process lacp when bond is admin down 30/24230/2
authorMatthew Smith <mgsmith@netgate.com>
Tue, 7 Jan 2020 17:34:43 +0000 (11:34 -0600)
committerDave Barach <openvpp@barachs.net>
Thu, 9 Jan 2020 23:28:05 +0000 (23:28 +0000)
Type: fix
Fixes: 6dfd3785e4

When a bond interface is administratively down but the slaves are
up, process inbound LACP packets received over the slaves. This
was the old behavior with bond interfaces in LACP mode and was
altered unintentionally by another change. Restore the old behavior.

Change-Id: I61b0b700211dea4859b6ee447ab83b33197d9d11
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/bonding/node.c

index de72070..49c1f28 100644 (file)
@@ -163,7 +163,6 @@ bond_update_next (vlib_main_t * vm, vlib_node_runtime_t * node,
     {
       *bond_sw_if_index = slave_sw_if_index;
       *error = node->errors[BOND_INPUT_ERROR_IF_DOWN];
-      return;
     }
 
   if (PREDICT_FALSE ((bif->mode == BOND_MODE_ACTIVE_BACKUP) &&