X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto-dpif.c;h=b6c1c834c2e365b9c35c2a6784707e922fe9da86;hb=83341407560671e7d24491b9b2287ee400040e03;hp=b3b38ae0cc325668899b66d326c14511136ef16e;hpb=d857c8aabf5195a35b9fd740fcc66ae23f222451;p=sliver-openvswitch.git diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index b3b38ae0c..b6c1c834c 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -1045,8 +1045,6 @@ construct(struct ofproto *ofproto_) ofproto_dpif_unixctl_init(); ofproto->has_mirrors = false; - ofproto->has_bundle_action = false; - hmap_init(&ofproto->vlandev_map); hmap_init(&ofproto->realdev_vid_map); @@ -2956,10 +2954,7 @@ port_run(struct ofport_dpif *ofport) if (ofport->may_enable != enable) { struct ofproto_dpif *ofproto = ofproto_dpif_cast(ofport->up.ofproto); - - if (ofproto->has_bundle_action) { - ofproto->backer->need_revalidate = REV_PORT_TOGGLED; - } + ofproto->backer->need_revalidate = REV_PORT_TOGGLED; } ofport->may_enable = enable;