From 4a86aece2c907dcc7f0777899d16ef0e71ee08c6 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Mon, 3 Oct 2011 12:51:33 -0700 Subject: [PATCH] ofproto-dpif: LACP registration should cause revalidation. Whenever a slave is registered to participate in LACP, it needs to be revalidated so that it can receive LACP PDUs. This bug can only surface in an edge case where a pre-existing interface is added to a pre-existing bond. It would be unusual for a controller to do this. --- ofproto/ofproto-dpif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 44c7e56d..6c65a37c 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -990,6 +990,7 @@ bundle_add_port(struct ofbundle *bundle, uint32_t ofp_port, } } if (lacp) { + port->bundle->ofproto->need_revalidate = true; lacp_slave_register(bundle->lacp, port, lacp); } -- 2.30.2