diff options
author | Florin Coras <fcoras@cisco.com> | 2023-10-10 12:39:55 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-10-11 20:05:48 +0000 |
commit | fe95c237950a12cbcfb7ef5da5207373db95ae23 (patch) | |
tree | b7662bfcce377522a9b56050e8cfe226f205d354 /src/vnet/session/session_node.c | |
parent | 015a6f7f17c4c8a2c2dfc595c1b4dc52a6a18c89 (diff) |
session: ignore app rx ntf if transport closed
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id56a101a6350903b00f7c96705fb86039e70e12c
(cherry picked from commit a0b8c8fdf3fc555fc2ed7792d67bf3fb4fb99b9f)
Diffstat (limited to 'src/vnet/session/session_node.c')
-rw-r--r-- | src/vnet/session/session_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index d27b804550a..9e20670f364 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -1785,7 +1785,7 @@ session_event_dispatch_io (session_worker_t * wrk, vlib_node_runtime_t * node, break; case SESSION_IO_EVT_RX: s = session_event_get_session (wrk, e); - if (!s) + if (!s || s->session_state >= SESSION_STATE_TRANSPORT_CLOSED) break; transport_app_rx_evt (session_get_transport_proto (s), s->connection_index, s->thread_index); |