aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/ip/ip_input_acl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/vnet/vnet/ip/ip_input_acl.c b/vnet/vnet/ip/ip_input_acl.c
index fb7255ecd0c..e905ed154a3 100644
--- a/vnet/vnet/ip/ip_input_acl.c
+++ b/vnet/vnet/ip/ip_input_acl.c
@@ -231,12 +231,13 @@ ip_inacl_inline (vlib_main_t * vm,
table_index0 = vnet_buffer(b0)->l2_classify.table_index;
e0 = 0;
t0 = 0;
-
vnet_get_config_data (am->vnet_config_main[tid],
&vnet_buffer(b0)->ip.current_config_index,
&next0,
/* # bytes of config data */ 0);
+ vnet_buffer(b0)->l2_classify.opaque_index = ~0;
+
if (PREDICT_TRUE(table_index0 != ~0))
{
hash0 = vnet_buffer(b0)->l2_classify.hash;
@@ -246,6 +247,8 @@ ip_inacl_inline (vlib_main_t * vm,
now);
if (e0)
{
+ vnet_buffer(b0)->l2_classify.opaque_index
+ = e0->opaque_index;
vlib_buffer_advance (b0, e0->advance);
next0 = (e0->next_index < n_next_nodes)?
@@ -290,6 +293,8 @@ ip_inacl_inline (vlib_main_t * vm,
(t0, (u8 *) h0, hash0, now);
if (e0)
{
+ vnet_buffer(b0)->l2_classify.opaque_index
+ = e0->opaque_index;
vlib_buffer_advance (b0, e0->advance);
next0 = (e0->next_index < n_next_nodes)?
e0->next_index:next0;