session: avoid transport cleanup if previously deleted
Type: fix
Change-Id: I485d38c7d9473e2ad1cbd8e17a788ec8d29ab001
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit cac31a4a23
)
This commit is contained in:

committed by
Andrew Yourtchenko

parent
bd05baee48
commit
4afd0a1298
@ -1283,6 +1283,7 @@ session_transport_cleanup (session_t * s)
|
||||
|
||||
/* Delete from main lookup table before we axe the the transport */
|
||||
session_lookup_del_session (s);
|
||||
if (s->session_state != SESSION_STATE_TRANSPORT_DELETED)
|
||||
transport_cleanup (session_get_transport_proto (s), s->connection_index,
|
||||
s->thread_index);
|
||||
/* Since we called cleanup, no delete notification will come. So, make
|
||||
|
Reference in New Issue
Block a user