Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
feature: provide a u16 version of vnet_feature_next
[vpp.git]
/
src
/
plugins
/
acl
/
dataplane_node.c
diff --git
a/src/plugins/acl/dataplane_node.c
b/src/plugins/acl/dataplane_node.c
index
c738f66
..
5034f94
100644
(file)
--- a/
src/plugins/acl/dataplane_node.c
+++ b/
src/plugins/acl/dataplane_node.c
@@
-778,11
+778,10
@@
acl_fa_inner_node_fn (vlib_main_t * vm,
}
{
}
{
- u32 next0;
/* speculatively get the next0 */
/* speculatively get the next0 */
- vnet_feature_next
(&next0
, b[0]);
+ vnet_feature_next
_u16 (&next[0]
, b[0]);
/* if the action is not deny - then use that next */
/* if the action is not deny - then use that next */
- next[0] = action ? next
0
: 0;
+ next[0] = action ? next
[0]
: 0;
}
if (node_trace_on) // PREDICT_FALSE (node->flags & VLIB_NODE_FLAG_TRACE))
}
if (node_trace_on) // PREDICT_FALSE (node->flags & VLIB_NODE_FLAG_TRACE))