aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_output_classify.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_classify.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_classify.c')
-rw-r--r--src/vnet/l2/l2_output_classify.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/l2/l2_output_classify.c b/src/vnet/l2/l2_output_classify.c
index c1bdaddc06e..869b0656355 100644
--- a/src/vnet/l2/l2_output_classify.c
+++ b/src/vnet/l2/l2_output_classify.c
@@ -497,9 +497,6 @@ l2_output_classify_init (vlib_main_t * vm)
rt->l2cm = cm;
rt->vcm = cm->vnet_classify_main;
- /* Initialize the output node mapping table */
- l2output_init_output_node_vec (&cm->next_nodes.output_node_index_vec);
-
return 0;
}