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 <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
Jarno Rajahalme committed Aug 20, 2015
1 parent 39c2f89 commit a8ff76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/meta-flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,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 a8ff76a

Please sign in to comment.