Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f13634f
)
session: allow transport cleanup in any state
02/22502/2
author
Florin Coras
<
[email protected]
>
Tue, 1 Oct 2019 17:32:46 +0000
(10:32 -0700)
committer
Andrew Yourtchenko
<
[email protected]
>
Thu, 3 Oct 2019 16:21:12 +0000
(16:21 +0000)
Type: fix
Third time's a charm
Change-Id: I31555a35d2b51f49a93a2a213c28896b0cad4c09
Signed-off-by: Florin Coras <
[email protected]
>
(cherry picked from commit
b5a2f7056967630c2834b0b4bf03520d96806c3e
)
src/vnet/session/session.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/session.c
b/src/vnet/session/session.c
index
47f7326
..
be62d92
100644
(file)
--- a/
src/vnet/session/session.c
+++ b/
src/vnet/session/session.c
@@
-1281,9
+1281,8
@@
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);
+ transport_cleanup (session_get_transport_proto (s), s->connection_index,
+ s->thread_index);
/* Since we called cleanup, no delete notification will come. So, make
* sure the session is properly freed. */
session_free_w_fifos (s);