2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

meta-flow: Fix ip_frag handling in mf_set_wild().

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>
This commit is contained in:
Jarno Rajahalme
2015-08-20 13:10:07 -07:00
parent fded9e21f8
commit 6ca49d5ec1

View File

@@ -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;