projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flow: Increase number of registers to 4.
[openvswitch]
/
lib
/
odp-util.c
diff --git
a/lib/odp-util.c
b/lib/odp-util.c
index 91320c458b714d4b93a31c15082dfff5e048d829..547e87ed90f93ec4ebdb0bf51999d3f6e06fa986 100644
(file)
--- a/
lib/odp-util.c
+++ b/
lib/odp-util.c
@@
-103,9
+103,9
@@
format_odp_action(struct ds *ds, const struct nlattr *a)
const uint8_t *eth;
ovs_be32 ip;
const uint8_t *eth;
ovs_be32 ip;
- if (nl_attr_get_size(a) != odp_action_len(
a->nla_len
)) {
+ if (nl_attr_get_size(a) != odp_action_len(
nl_attr_type(a)
)) {
ds_put_format(ds, "***bad action: length is %zu, expected %d*** ",
ds_put_format(ds, "***bad action: length is %zu, expected %d*** ",
- nl_attr_get_size(a), odp_action_len(
a->nla_len
));
+ nl_attr_get_size(a), odp_action_len(
nl_attr_type(a)
));
format_generic_odp_action(ds, a);
return;
}
format_generic_odp_action(ds, a);
return;
}