session: allow transport cleanup in any state
Type: fix
Third time's a charm
Change-Id: I31555a35d2b51f49a93a2a213c28896b0cad4c09
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit b5a2f70569
)
This commit is contained in:

committed by
Andrew Yourtchenko

parent
f13634f1ab
commit
6af2886a08
@ -1281,7 +1281,6 @@ 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