From de4eb7fa212a33a0e08062f75aaf5fe5ad2a9cc0 Mon Sep 17 00:00:00 2001 From: Jing Peng Date: Fri, 8 Jul 2022 12:52:01 -0400 Subject: nat: fix nat44-ed-in2out fast path next node When a session is found expired, the next node of in2out fast path should be in2out slow path instead of out2in slow path. Type: fix Signed-off-by: Jing Peng Change-Id: If1dd920502089c25b33bea5434823b0496a44499 --- src/plugins/nat/nat44-ed/nat44_ed_in2out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/nat') diff --git a/src/plugins/nat/nat44-ed/nat44_ed_in2out.c b/src/plugins/nat/nat44-ed/nat44_ed_in2out.c index b0e0784373e..2d8d96a0f5a 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_in2out.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_in2out.c @@ -1193,7 +1193,7 @@ nat44_ed_in2out_fast_path_node_fn_inline (vlib_main_t *vm, // session is closed, go slow path nat44_ed_free_session_data (sm, s0, thread_index, 0); nat_ed_session_delete (sm, s0, thread_index, 1); - next[0] = NAT_NEXT_OUT2IN_ED_SLOW_PATH; + next[0] = def_slow; goto trace0; } -- cgit 1.2.3-korg