nat: don't drop packet for expired session
[vpp.git] / src / plugins / nat / in2out_ed.c
index 4be7637..6ca1e6e 100644 (file)
@@ -982,8 +982,8 @@ nat44_ed_in2out_fast_path_node_fn_inline (vlib_main_t * vm,
              nat_free_session_data (sm, s0, thread_index, 0);
              nat44_delete_session (sm, s0, thread_index);
 
-             b0->error = node->errors[NAT_IN2OUT_ED_ERROR_SESS_EXPIRED];
-             next0 = NAT_NEXT_DROP;
+             // session no longer exists, go slow path
+             next0 = def_slow;
              goto trace0;
            }