summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/segment_manager.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-04-30 15:05:24 +0000
committerDave Barach <openvpp@barachs.net>2020-04-30 20:50:14 +0000
commitbf39597d41da6d00e4d1a9954e42d16069069243 (patch)
tree17720444b6f830f21a194022d9ffa52e145e320e /src/vnet/session/segment_manager.c
parent240dcb24a00004017ec2d1b23b93d9ae8d3c9f65 (diff)
session: cleanup listener segment manager on wrk free
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I1585af9e4f4273f055aed824b133ddc8eddd1df7
Diffstat (limited to 'src/vnet/session/segment_manager.c')
-rw-r--r--src/vnet/session/segment_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/segment_manager.c b/src/vnet/session/segment_manager.c
index 3e0b8962c07..33ce6e58398 100644
--- a/src/vnet/session/segment_manager.c
+++ b/src/vnet/session/segment_manager.c
@@ -64,7 +64,7 @@ segment_manager_props_init (segment_manager_props_t * props)
return props;
}
-static u8
+u8
segment_manager_app_detached (segment_manager_t * sm)
{
return (sm->app_wrk_index == SEGMENT_MANAGER_INVALID_APP_INDEX);