diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2020-05-14 03:35:47 -0400 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-05-20 16:35:42 +0000 |
commit | 63f9e7cc0e2c8ca370e320755a13f79d49616e60 (patch) | |
tree | f60316ebce3ab2b6c1d86ee87b4712a588cb0269 /src/plugins/nat/in2out_ed.c | |
parent | d3088e94ec7b8745686af0ca838fd1048b0837a8 (diff) |
nat: fix segv if out of ports in ed modev20.05-rc2
Type: fix
Ticket: VPP-1870
Change-Id: Ife726d2f6baaa3516c209011183f39670cf6a55d
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
(cherry picked from commit 88120824acc299a0aec17ce4c208dbc8be394779)
Diffstat (limited to 'src/plugins/nat/in2out_ed.c')
-rw-r--r-- | src/plugins/nat/in2out_ed.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/nat/in2out_ed.c b/src/plugins/nat/in2out_ed.c index 45d9fd0b32c..0f1500f5e06 100644 --- a/src/plugins/nat/in2out_ed.c +++ b/src/plugins/nat/in2out_ed.c @@ -386,7 +386,6 @@ slow_path_ed (snat_main_t * sm, { nat_elog_notice ("addresses exhausted"); b->error = node->errors[NAT_IN2OUT_ED_ERROR_OUT_OF_PORTS]; - nat_free_session_data (sm, s, thread_index, 0); nat_ed_session_delete (sm, s, thread_index, 1); return NAT_NEXT_DROP; } |