aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_node.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-12-18 09:38:40 -0800
committerFlorin Coras <fcoras@cisco.com>2020-01-24 23:46:58 +0000
commit2d8829cbb5f3d214fbc09bf4258573659e0c5e60 (patch)
tree09c3b97c10b25b3d27b5a67f7fc916327777d395 /src/vnet/session/session_node.c
parenta273ce62d7e3eded5a146bcad8cf3103894a723f (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>
Diffstat (limited to 'src/vnet/session/session_node.c')
-rw-r--r--src/vnet/session/session_node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c
index 540f6e6d747..a0f4f34a4ac 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -1610,6 +1610,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);
}