diff options
author | Florin Coras <fcoras@cisco.com> | 2018-10-04 19:03:05 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-10-05 11:40:58 +0000 |
commit | 326b81e30e63a8296df51d85e6514356cd737225 (patch) | |
tree | bd5104903cecdd87bbad233adbd76c447b7c7d4c /src/vnet/session/segment_manager.c | |
parent | b3f90503313949e23528495ca12a525be7c5ad9f (diff) |
session: fix local session tagging and cleanup
Change-Id: I0d42a0c71fea7dd669fb1fe5ded7e6e944245c7d
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/segment_manager.c')
-rw-r--r-- | src/vnet/session/segment_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/segment_manager.c b/src/vnet/session/segment_manager.c index bf62040271f..8dd72928ec4 100644 --- a/src/vnet/session/segment_manager.c +++ b/src/vnet/session/segment_manager.c @@ -366,11 +366,11 @@ segment_manager_del_sessions (segment_manager_t * sm) */ while (fifo) { - if (fifo->master_thread_index == 255) + if (fifo->ct_session_index != SVM_FIFO_INVALID_SESSION_INDEX) { svm_fifo_t *next = fifo->next; application_local_session_disconnect_w_index (sm->app_wrk_index, - fifo->master_session_index); + fifo->ct_session_index); fifo = next; continue; } |