aboutsummaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-10-03 12:51:33 -0700
committerEthan Jackson <ethan@nicira.com>2011-10-03 13:20:43 -0700
commit4a86aece2c907dcc7f0777899d16ef0e71ee08c6 (patch)
tree0e1b5c24de3ea3739ad6e1fb5caaec0ae8f39df4 /ofproto
parentf11c28c43f7a0260a7a9dcb26f369c53792b15ca (diff)
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.
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto-dpif.c1
1 files changed, 1 insertions, 0 deletions
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);
}