summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-10-17 10:41:28 -0700
committerDave Barach <openvpp@barachs.net>2018-10-18 16:10:12 +0000
commitc5347d9d42866881fa3f267e76bee828dfc9e1bc (patch)
tree9c4467711279a85fd204326be673f1c13b2c946a /src/vnet/session
parentb4d2c967f86b4cc0d8d772abafdb6dbf3f11de04 (diff)
tcp: fix cleanup of non established connections (VPP-1463)
- fix delete of connection in syn-received - fix delete of half-open connection Change-Id: I72ff4b60406a2762d998328c52f41adea40d2c1b Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 7b50950fe01..23d258ffdea 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -820,6 +820,7 @@ stream_session_delete_notify (transport_connection_t * tc)
session_lookup_del_session (s);
break;
case SESSION_STATE_CLOSED:
+ case SESSION_STATE_ACCEPTING:
stream_session_delete (s);
break;
}