bonding: process lacp when bond is admin down 90/24290/4
authorMatthew Smith <mgsmith@netgate.com>
Tue, 7 Jan 2020 17:34:43 +0000 (11:34 -0600)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 28 Jan 2020 13:44:25 +0000 (13:44 +0000)
Ticket: VPP-1821
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>
(cherry picked from commit 854eb6e3ff87ace211a45a8053424d8432bd5755)

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) &&