From: Ethan Jackson Date: Mon, 3 Oct 2011 19:51:33 +0000 (-0700) Subject: ofproto-dpif: LACP registration should cause revalidation. X-Git-Tag: v1.3.0~155 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4a86aece2c907dcc7f0777899d16ef0e71ee08c6;p=sliver-openvswitch.git 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 44c7e56dc..6c65a37c7 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); }