From e3034cdc74f9fe153259a55c03846495d3f9f088 Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Thu, 3 Jan 2019 12:56:02 -0600 Subject: VXLAN: Prevent duplicate bypass graph nodes. Change-Id: I68cc509b594b09751ff5e0e09bbca187a4a88edd Signed-off-by: Jon Loeliger --- src/vnet/vxlan/vxlan.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vnet/vxlan/vxlan.h') diff --git a/src/vnet/vxlan/vxlan.h b/src/vnet/vxlan/vxlan.h index 73052278a48..7ade7c009cd 100644 --- a/src/vnet/vxlan/vxlan.h +++ b/src/vnet/vxlan/vxlan.h @@ -172,6 +172,10 @@ typedef struct /* Mapping from sw_if_index to tunnel index */ u32 *tunnel_index_by_sw_if_index; + /* graph node state */ + uword *bm_ip4_bypass_enabled_by_sw_if; + uword *bm_ip6_bypass_enabled_by_sw_if; + /* convenience */ vlib_main_t *vlib_main; vnet_main_t *vnet_main; -- cgit 1.2.3-korg