aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-01 04:05:41 +0000
committerDave Barach <openvpp@barachs.net>2020-04-01 19:21:25 +0000
commit805d58c2f65e92d92d47e7543378f557ce7aec96 (patch)
tree10e4e749eac0569e57594c366626cdc82bbd835f /src/vnet/session
parent9c4ec6fc2c0994c5fdbe0491f6223a9c98ed153e (diff)
session: allow rx events independnt of state
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ica1d4e149f4750517e0bd3ccf2572f6f15f63622
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/application_worker.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/session/application_worker.c b/src/vnet/session/application_worker.c
index 88ea7017d32..142b662b4d4 100644
--- a/src/vnet/session/application_worker.c
+++ b/src/vnet/session/application_worker.c
@@ -585,12 +585,6 @@ app_send_io_evt_rx (app_worker_t * app_wrk, session_t * s)
if (app_worker_application_is_builtin (app_wrk))
return app_worker_builtin_rx (app_wrk, s);
- /* Make sure the session is in established state within external apps.
- * Should be removed once we confirm closes to apps */
- if (PREDICT_FALSE (s->session_state != SESSION_STATE_READY
- && s->session_state != SESSION_STATE_LISTENING))
- return 0;
-
if (svm_fifo_has_event (s->rx_fifo))
return 0;