[ovs-dev] [coverity 02/12] meta-flow: Add missing "break" to mf_set_wild().

Ben Pfaff blp at nicira.com
Thu Jan 24 22:44:27 UTC 2013


Found by Coverity.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/meta-flow.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/meta-flow.c b/lib/meta-flow.c
index 8a92a5c..fa6e434 100644
--- a/lib/meta-flow.c
+++ b/lib/meta-flow.c
@@ -1452,6 +1452,7 @@ mf_set_wild(const struct mf_field *mf, struct match *match)
 
     case MFF_METADATA:
         match_set_metadata_masked(match, htonll(0), htonll(0));
+        break;
 
     case MFF_IN_PORT:
         match->flow.in_port = 0;
-- 
1.7.2.5




More information about the dev mailing list