projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-brcompatd: Delete ports when netdevs on fake bridges disappear.
[openvswitch]
/
ofproto
/
ofproto-dpif.c
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index 88ec2c0a577cfb009e9494be72ba7312dc45e4ca..98bcc74701e2d6ce0ce32733c7702098b4f4875e 100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-836,6
+836,10
@@
set_cfm(struct ofport *ofport_, const struct cfm_settings *s)
error = 0;
} else {
if (!ofport->cfm) {
error = 0;
} else {
if (!ofport->cfm) {
+ struct ofproto_dpif *ofproto;
+
+ ofproto = ofproto_dpif_cast(ofport->up.ofproto);
+ ofproto->need_revalidate = true;
ofport->cfm = cfm_create(netdev_get_name(ofport->up.netdev));
}
ofport->cfm = cfm_create(netdev_get_name(ofport->up.netdev));
}
@@
-1069,6
+1073,7
@@
bundle_set(struct ofproto *ofproto_, void *aux,
/* LACP. */
if (s->lacp) {
if (!bundle->lacp) {
/* LACP. */
if (s->lacp) {
if (!bundle->lacp) {
+ ofproto->need_revalidate = true;
bundle->lacp = lacp_create();
}
lacp_configure(bundle->lacp, s->lacp);
bundle->lacp = lacp_create();
}
lacp_configure(bundle->lacp, s->lacp);