summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_worker.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-02-20 19:48:31 -0800
committerDamjan Marion <dmarion@me.com>2019-02-21 12:27:03 +0000
commit565115edf0d6689a3f362c69240c160b49807156 (patch)
treecb0dd4a6299fc6ec4fdade0f71fb2f21ac9e33c6 /src/vnet/session/application_worker.c
parent0964985cdd99cf769582e0d9393de68a95b121b9 (diff)
tcp: drop outstanding data when entering closing state
Change-Id: I92a009b9630b0d882ea3c5c99aad88ed6f5109a0 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application_worker.c')
-rw-r--r--src/vnet/session/application_worker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/application_worker.c b/src/vnet/session/application_worker.c
index 3bab3564ad9..5423733b231 100644
--- a/src/vnet/session/application_worker.c
+++ b/src/vnet/session/application_worker.c
@@ -199,6 +199,7 @@ app_worker_free (app_worker_t * app_wrk)
{
sm = segment_manager_get (app_wrk->connects_seg_manager);
sm->app_wrk_index = SEGMENT_MANAGER_INVALID_APP_INDEX;
+ sm->first_is_protected = 0;
segment_manager_init_del (sm);
}