git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/flow: Maintain miniflow offline values explicitly.
[sliver-openvswitch.git]
/
lib
/
match.c
diff --git
a/lib/match.c
b/lib/match.c
index
5bbd2f0
..
308f906
100644
(file)
--- a/
lib/match.c
+++ b/
lib/match.c
@@
-1255,8
+1255,8
@@
minimatch_matches_flow(const struct minimatch *match,
const struct flow *target)
{
const uint32_t *target_u32 = (const uint32_t *) target;
const struct flow *target)
{
const uint32_t *target_u32 = (const uint32_t *) target;
- const uint32_t *flowp = m
atch->flow.values
;
- const uint32_t *maskp = m
atch->mask.masks.values
;
+ const uint32_t *flowp = m
iniflow_get_u32_values(&match->flow)
;
+ const uint32_t *maskp = m
iniflow_get_u32_values(&match->mask.masks)
;
uint64_t map;
for (map = match->flow.map; map; map = zero_rightmost_1bit(map)) {
uint64_t map;
for (map = match->flow.map; map; map = zero_rightmost_1bit(map)) {