session: add transport deleted state 82/20782/7
authorFlorin Coras <fcoras@cisco.com>
Tue, 23 Jul 2019 02:03:03 +0000 (19:03 -0700)
committerDave Barach <openvpp@barachs.net>
Thu, 25 Jul 2019 17:59:17 +0000 (17:59 +0000)
commit5f06632fc700e5f5c72b7238aee3fd84663ddf4f
tree2b8b74650fcd3d826805493c13dc4a74b1272ebf
parent6c84fb2ee1bf230951aaf92d9db595d4c0feac45
session: add transport deleted state

Type: fix

Distinguish between closed and deleted states to avoid deleting the
session prior to the transport connection.

Change-Id: Ia285ce94b26a70773f8c0ce9d2c73095d3e2a337
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/session/session.c
src/vnet/session/session_cli.c
src/vnet/session/session_types.h
src/vnet/tcp/tcp.c