Fix crash with worker threads on 4K VXLAN/BD setup (VPP-907) 53/7553/2
authorJohn Lo <loj@cisco.com>
Wed, 12 Jul 2017 23:56:45 +0000 (19:56 -0400)
committerDave Barach <openvpp@barachs.net>
Thu, 13 Jul 2017 11:42:29 +0000 (11:42 +0000)
commitbea5ebf205e0bec922bf26c6c1a6a9392b4cad67
tree62d0ee611310f94c29697b886d0626d1d264f87d
parente0c6670eba118c26007ce05ec51f1b9c3022a083
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>
src/vnet/interface.h
src/vnet/l2/l2_efp_filter.c
src/vnet/l2/l2_fib.c
src/vnet/l2/l2_input.c
src/vnet/l2/l2_output.c
src/vnet/l2/l2_output.h
src/vnet/l2/l2_output_acl.c
src/vnet/l2/l2_output_classify.c