tcp: fix cleanup of non established connections (VPP-1463)
[vpp.git] / src / vnet / session / session.c
index 7b50950..23d258f 100644 (file)
@@ -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;
     }