From: Ben Pfaff Date: Thu, 14 Oct 2010 00:11:56 +0000 (-0700) Subject: ofproto: Fix implementation of OFPP_FLOOD. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9628cd42d45f47b17c5273a75db79826f1672c82;p=openvswitch ofproto: Fix implementation of OFPP_FLOOD. Commit f1588b1fa1 "datapath: Remove implementation of port groups" removed a "break" statement accidentally, which caused OFPP_FLOOD to send duplicate packets and to ignore OFPPC_NO_FLOOD. --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index e25ce28c..5e99fcab 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2577,6 +2577,7 @@ xlate_output_action__(struct action_xlate_ctx *ctx, case OFPP_FLOOD: flood_packets(ctx->ofproto, ctx->flow.in_port, OFPPC_NO_FLOOD, &ctx->nf_output_iface, ctx->out); + break; case OFPP_ALL: flood_packets(ctx->ofproto, ctx->flow.in_port, 0, &ctx->nf_output_iface, ctx->out);