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
Ticket: VPP-1826

Change-Id: I43d20bed4930fc877b187ce7ecdce62034b393c5
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit 2d8829cbb5f3d214fbc09bf4258573659e0c5e60)
This commit is contained in:
Florin Coras
2019-12-18 09:38:40 -08:00
committed by Florin Coras
parent 9af7a98cf8
commit abd9312516

View File

@ -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);
}