aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Morris <bmorris2@cisco.com>2024-05-21 15:25:30 +0000
committerBrian Morris <bmorris2@cisco.com>2024-05-21 15:30:08 +0000
commitf03d448142c069533b7786edf350862f08ccb534 (patch)
tree5071535f490ed5a8a6003df03f533825515f9ce5
parenta5668eb05565129b2bd98fb87813a284ed814be6 (diff)
session: remove ipv6 lookup threading assert
This makes session_lookup_connection_wt6 consistent with session_lookup_connection_wt4 - they both just return an error for wrong thread. Type: fix Change-Id: Ide38976e9a7274b53311e65711098e6b22a3f8d5 Signed-off-by: Brian Morris <bmorris2@cisco.com>
-rw-r--r--src/vnet/session/session_lookup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/session/session_lookup.c b/src/vnet/session/session_lookup.c
index 9d028dbb28c..ff20bc2d835 100644
--- a/src/vnet/session/session_lookup.c
+++ b/src/vnet/session/session_lookup.c
@@ -1184,7 +1184,6 @@ session_lookup_connection_wt6 (u32 fib_index, ip6_address_t * lcl,
rv = clib_bihash_search_inline_48_8 (&st->v6_session_hash, &kv6);
if (rv == 0)
{
- ASSERT ((u32) (kv6.value >> 32) == thread_index);
if (PREDICT_FALSE ((u32) (kv6.value >> 32) != thread_index))
{
*result = SESSION_LOOKUP_RESULT_WRONG_THREAD;