diff options
author | Neale Ranns <nranns@cisco.com> | 2019-12-29 23:55:18 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-01-27 20:40:30 +0000 |
commit | 14053c9dbd75182f5302f7388d17508f3930f7ce (patch) | |
tree | 527f7675cfe18b13cc7c1923cd7959ec80459a7c /src/vnet/adj/adj_midchain.c | |
parent | 59ff918ea5b86112ffc89054aa38107703354585 (diff) |
ipip: Multi-point interface
Type: feature
plus fixes for gre
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I0eca5f94b8b8ea0fcfb058162cafea4491708db6
Diffstat (limited to 'src/vnet/adj/adj_midchain.c')
-rw-r--r-- | src/vnet/adj/adj_midchain.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/vnet/adj/adj_midchain.c b/src/vnet/adj/adj_midchain.c index 542b5a13250..33da0ed829e 100644 --- a/src/vnet/adj/adj_midchain.c +++ b/src/vnet/adj/adj_midchain.c @@ -513,12 +513,11 @@ adj_nbr_midchain_update_rewrite (adj_index_t adj_index, * one time only update. since we don't support changing the tunnel * src,dst, this is all we need. */ - ASSERT((adj->lookup_next_index == IP_LOOKUP_NEXT_ARP) || - (adj->lookup_next_index == IP_LOOKUP_NEXT_GLEAN) || - (adj->lookup_next_index == IP_LOOKUP_NEXT_MCAST) || - (adj->lookup_next_index == IP_LOOKUP_NEXT_BCAST)); - - adj_midchain_setup(adj_index, fixup, fixup_data, flags); + if (adj->lookup_next_index != IP_LOOKUP_NEXT_MIDCHAIN || + adj->lookup_next_index != IP_LOOKUP_NEXT_MCAST_MIDCHAIN) + { + adj_midchain_setup(adj_index, fixup, fixup_data, flags); + } /* * update the rewrite with the workers paused. |