Skip to content

Commit

Permalink
meta-flow: Fix ip_frag handling in mf_set_wild().
Browse files Browse the repository at this point in the history
The wildcard bits were set when they should have been cleared.

Found by inspection.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
  • Loading branch information
Jarno Rajahalme committed Aug 20, 2015
1 parent fded9e2 commit 6ca49d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/meta-flow.c
Expand Up @@ -1508,7 +1508,7 @@ mf_set_wild(const struct mf_field *mf, struct match *match)
break;

case MFF_IP_FRAG:
match->wc.masks.nw_frag |= FLOW_NW_FRAG_MASK;
match->wc.masks.nw_frag &= ~FLOW_NW_FRAG_MASK;
match->flow.nw_frag &= ~FLOW_NW_FRAG_MASK;
break;

Expand Down

0 comments on commit 6ca49d5

Please sign in to comment.