X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fflow_table.c;h=ddb14dae35ec6ed4ef17338407bcfbec9cfd4093;hb=61ed018a6bb5e8857a285ea391a028c38c766846;hp=c2a7aa5b6d3748699d01958e2604e76da8e41693;hpb=12848ebf6d8411d2f2c4beda1f0ea8c874ca2bf0;p=sliver-openvswitch.git diff --git a/datapath/flow_table.c b/datapath/flow_table.c index c2a7aa5b6..ddb14dae3 100644 --- a/datapath/flow_table.c +++ b/datapath/flow_table.c @@ -426,7 +426,7 @@ static struct sw_flow *masked_flow_lookup(struct table_instance *ti, hash = flow_hash(&masked_key, key_start, key_end); head = find_bucket(ti, hash); hlist_for_each_entry_rcu(flow, head, hash_node[ti->node_ver]) { - if (flow->mask == mask && + if (flow->mask == mask && flow->hash == hash && flow_cmp_masked_key(flow, &masked_key, key_start, key_end)) return flow;