projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dpif-linux: Use get_32aligned_u64() in an appropriate place.
[openvswitch]
/
lib
/
meta-flow.c
diff --git
a/lib/meta-flow.c
b/lib/meta-flow.c
index f2f1348474428f7c731aa74832ae5a3acdb9c528..d5226f021a60e08ef0a9564463b4e07ab4dcd35f 100644
(file)
--- a/
lib/meta-flow.c
+++ b/
lib/meta-flow.c
@@
-716,7
+716,7
@@
mf_get_value(const struct mf_field *mf, const struct flow *flow,
#if FLOW_N_REGS > 5
#error
#endif
- value->be32 = htonl(flow->regs[0]);
+ value->be32 = htonl(flow->regs[
mf->id - MFF_REG
0]);
break;
case MFF_ETH_SRC: