aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session.c3
-rw-r--r--src/vnet/session/session_types.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 9dc35238795..31539dfd6c3 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -574,9 +574,6 @@ session_main_flush_enqueue_events (u8 transport_proto, u32 thread_index)
continue;
}
- if (svm_fifo_has_event (s->rx_fifo) || svm_fifo_is_empty (s->rx_fifo))
- continue;
-
if (PREDICT_FALSE (session_enqueue_notify_inline (s)))
errors++;
}
diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h
index 0845f023ad9..02dc40ab0cf 100644
--- a/src/vnet/session/session_types.h
+++ b/src/vnet/session/session_types.h
@@ -130,8 +130,8 @@ typedef enum
typedef enum session_flags_
{
- SESSION_F_RX_EVT,
- SESSION_F_PROXY
+ SESSION_F_RX_EVT = 1,
+ SESSION_F_PROXY = (1 << 1),
} session_flags_t;
typedef struct session_