From: Ethan Jackson Date: Mon, 3 Oct 2011 19:51:33 +0000 (-0700) Subject: ofproto-dpif: LACP registration should cause revalidation. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a86aece2c907dcc7f0777899d16ef0e71ee08c6;p=openvswitch 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. --- 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); }