diff options
author | Florin Coras <fcoras@cisco.com> | 2021-12-19 11:38:30 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-12-20 19:38:01 +0000 |
commit | f977ce7972af69aa7996dfd319614018890e75b8 (patch) | |
tree | aeaf63e1cebfad37faad24c2d399bb664ae6ccfc /src/vnet/session/session_debug.c | |
parent | a0024a66feda939e271bf30a5e6ea57851b03271 (diff) |
session: ignore rpc in fifo event lookups
RPCs are not associated to sessions.
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I6b7870a3ebc2e8f32a6c1b10e2552d9e074c7eb3
Diffstat (limited to 'src/vnet/session/session_debug.c')
-rw-r--r-- | src/vnet/session/session_debug.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vnet/session/session_debug.c b/src/vnet/session/session_debug.c index 349d1ec9b46..f62af1cf839 100644 --- a/src/vnet/session/session_debug.c +++ b/src/vnet/session/session_debug.c @@ -180,7 +180,6 @@ dump_thread_0_event_queue (void) static u8 session_node_cmp_event (session_event_t * e, svm_fifo_t * f) { - session_t *s; switch (e->event_type) { case SESSION_IO_EVT_RX: @@ -192,16 +191,7 @@ session_node_cmp_event (session_event_t * e, svm_fifo_t * f) return 1; break; case SESSION_CTRL_EVT_CLOSE: - break; case SESSION_CTRL_EVT_RPC: - s = session_get_from_handle (e->session_handle); - if (!s) - { - clib_warning ("session has event but doesn't exist!"); - break; - } - if (s->rx_fifo == f || s->tx_fifo == f) - return 1; break; default: break; |