diff options
author | Florin Coras <fcoras@cisco.com> | 2019-12-18 09:38:40 -0800 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-12 15:59:46 +0000 |
commit | 4e422269f8dbde16167bf0939f4a093c30624494 (patch) | |
tree | 04ad1261cdf21e3946d83feb8115610340ad32f3 /src | |
parent | c366be8647f22bc89aefb5960400a04e71afcdde (diff) |
session: fix node runtime in pre-input queue handler
Call session queue node with the right node runtime instead of the
pre-input node runtime.
Type: fix
Change-Id: I43d20bed4930fc877b187ce7ecdce62034b393c5
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit 2d8829cbb5f3d214fbc09bf4258573659e0c5e60)
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/session/session_node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index 8d090107b52..5bc6de5793b 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -1592,6 +1592,7 @@ session_queue_pre_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node, session_main_t *sm = &session_main; if (!sm->wrk[0].vpp_event_queue) return 0; + node = vlib_node_get_runtime (vm, session_queue_node.index); return session_queue_node_fn (vm, node, frame); } |