aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-10-25 16:23:39 -0700
committerDamjan Marion <dmarion@me.com>2019-10-28 11:31:48 +0000
commit3b5e222f8a4d0ccd4ec4eace2551491f13de85d9 (patch)
tree7ad7ac0948a51f3bfe7c116446539e82b8055874 /src/vnet/session/session.c
parent0d75f783644a24b219ed79d9f9c17387783f67ca (diff)
session: app-closed to transport-deleted on delete notify
Type: refactor As a result, transport-deleted is the only session state that has no transport data structure. Change-Id: I2da2bc4bbb141d8a7b52faae66a4733de8f8513b Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session.c')
-rw-r--r--src/vnet/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 2cde1f99bb6..aff2cceaf14 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -887,7 +887,7 @@ session_transport_delete_notify (transport_connection_t * tc)
* session is just removed because both transport and app have
* confirmed the close*/
session_lookup_del_session (s);
- s->session_state = SESSION_STATE_CLOSED;
+ s->session_state = SESSION_STATE_TRANSPORT_DELETED;
session_cleanup_notify (s, SESSION_CLEANUP_TRANSPORT);
svm_fifo_dequeue_drop_all (s->tx_fifo);
session_program_transport_ctrl_evt (s, SESSION_CTRL_EVT_CLOSE);