session: remove io event dispatch dbg msg 73/24273/1
authorFlorin Coras <fcoras@cisco.com>
Thu, 9 Jan 2020 16:41:31 +0000 (16:41 +0000)
committerFlorin Coras <fcoras@cisco.com>
Thu, 9 Jan 2020 16:41:31 +0000 (16:41 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I166ab7b96444587a3252925d3a28505e0db52d74

src/vnet/session/session_node.c

index f3ba9e7..540f6e6 100644 (file)
@@ -1163,10 +1163,7 @@ session_event_dispatch_io (session_worker_t * wrk, vlib_node_runtime_t * node,
     case SESSION_IO_EVT_TX:
       s = session_event_get_session (e, thread_index);
       if (PREDICT_FALSE (!s))
-       {
-         clib_warning ("session %u was freed!", e->session_index);
-         break;
-       }
+       break;
       CLIB_PREFETCH (s->tx_fifo, 2 * CLIB_CACHE_LINE_BYTES, LOAD);
       wrk->ctx.s = s;
       /* Spray packets in per session type frames, since they go to