From 9628cd42d45f47b17c5273a75db79826f1672c82 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 13 Oct 2010 17:11:56 -0700 Subject: [PATCH] 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. --- ofproto/ofproto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index e25ce28c6..5e99fcab1 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); -- 2.43.0