aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_output_acl.c
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2017-07-12 19:56:45 -0400
committerDave Barach <openvpp@barachs.net>2017-07-13 11:42:29 +0000
commitbea5ebf205e0bec922bf26c6c1a6a9392b4cad67 (patch)
tree62d0ee611310f94c29697b886d0626d1d264f87d /src/vnet/l2/l2_output_acl.c
parente0c6670eba118c26007ce05ec51f1b9c3022a083 (diff)
Fix crash with worker threads on 4K VXLAN/BD setup (VPP-907)
Cleanup mapping of interface output node for the l2-output node when interface is configured to L2 or L3 modes. The mapping is now always done in the main thread as part of API/CLI processing, instead of initiate mapping in the forwarding path which can be in the worker threads. Change-Id: Ia789493e7d9f5c76d68edfaf34db43f3e3f53506 Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2_output_acl.c')
-rw-r--r--src/vnet/l2/l2_output_acl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/l2/l2_output_acl.c b/src/vnet/l2/l2_output_acl.c
index 94a4d66b48f..1d1971a5516 100644
--- a/src/vnet/l2/l2_output_acl.c
+++ b/src/vnet/l2/l2_output_acl.c
@@ -297,9 +297,6 @@ VLIB_NODE_FUNCTION_MULTIARCH (l2_outacl_node, l2_outacl_node_fn)
l2output_get_feat_names (),
mp->next_nodes.feat_next_node_index);
- /* Initialize the output node mapping table */
- l2output_init_output_node_vec (&mp->next_nodes.output_node_index_vec);
-
return 0;
}