diff options
author | Florin Coras <fcoras@cisco.com> | 2019-12-05 12:05:57 -0800 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-12 07:43:14 +0000 |
commit | ec12ffe1bd6393e1e0c826baa2e760a8e0ffce18 (patch) | |
tree | d77f29e9e51c53e4f23f449f436ac11a1eca7aea /src | |
parent | 9e51b52bb96288fe6003a248ae67165be026a40b (diff) |
session: close for reset replies independent of state
Type: fix
Change-Id: I8b8875f1dc9203dfbb443ac43df8250cbb0b1edc
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit f1910326d537ad7692d4a9b807ebbef93106acea)
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/session/session_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index 78f284ab607..f463610291a 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -305,8 +305,8 @@ session_mq_reset_reply_handler (void *data) session_parse_handle (mp->handle, &index, &thread_index); s = session_get_if_valid (index, thread_index); - /* Session was already closed or already cleaned up */ - if (!s || s->session_state != SESSION_STATE_TRANSPORT_CLOSING) + /* No session or not the right session */ + if (!s || s->session_state < SESSION_STATE_TRANSPORT_CLOSING) return; app_wrk = app_worker_get (s->app_wrk_index); |