session: remove ipv6 lookup threading assert 09/40909/1
authorBrian Morris <[email protected]>
Tue, 21 May 2024 15:25:30 +0000 (15:25 +0000)
committerBrian Morris <[email protected]>
Tue, 21 May 2024 15:30:08 +0000 (15:30 +0000)
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 <[email protected]>
src/vnet/session/session_lookup.c

index 9d028db..ff20bc2 100644 (file)
@@ -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;