diff options
author | Florin Coras <fcoras@cisco.com> | 2018-10-30 10:21:59 -0700 |
---|---|---|
committer | Marco Varlese <marco.varlese@suse.de> | 2018-10-31 08:17:33 +0000 |
commit | 5f56d736cbd752216357357b8de6a120a41c08eb (patch) | |
tree | 783abee8a2c3e77513940734716775a88ac6bdeb /src/vnet/session/session.h | |
parent | 5a7ca7bde104b12f8dc4a751fd911819d4bd6c8e (diff) |
session: prioritize postponed sessions
If sessions cannot be handled during the current dispatch loop
iteration, ensure that they are first to be handled in the next.
Change-Id: Ifc6215900f8cfd530d4886b58641189f0ccf9bb7
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session.h')
-rw-r--r-- | src/vnet/session/session.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/session.h b/src/vnet/session/session.h index a98986124d7..131652a8c6e 100644 --- a/src/vnet/session/session.h +++ b/src/vnet/session/session.h @@ -223,6 +223,9 @@ typedef struct session_manager_worker_ /** Vector of postponed disconnects */ session_event_t *pending_disconnects; + /** Vector of postponed events */ + session_event_t *postponed_event_vector; + /** Peekers rw lock */ clib_rwlock_t peekers_rw_locks; |