diff options
author | Matus Fabian <matfabia@cisco.com> | 2017-09-12 04:15:30 -0700 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-09-12 13:24:27 +0000 |
commit | 624b8d9807ac449c4077df4d2d4f40313597a224 (patch) | |
tree | 0a228133f3e1c89538e9030a420fcfc4e0db4506 /src/plugins/nat/in2out.c | |
parent | 4eeeaaf5e822718eb222e6c49abd82e1bcb566fd (diff) |
NAT: fixed bug in snat_alloc_outside_address_and_port (VPP-981)
Change-Id: I6c5eccd4193c44604da3fd27c108defe71b38a4b
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/nat/in2out.c')
-rw-r--r-- | src/plugins/nat/in2out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/in2out.c b/src/plugins/nat/in2out.c index efb3856bfa1..d0a13237b39 100644 --- a/src/plugins/nat/in2out.c +++ b/src/plugins/nat/in2out.c @@ -354,7 +354,7 @@ static u32 slow_path (snat_main_t *sm, vlib_buffer_t *b0, s->in2out.fib_index); snat_free_outside_address_and_port - (sm, &s->out2in, s->outside_address_index); + (sm, thread_index, &s->out2in, s->outside_address_index); } s->outside_address_index = ~0; @@ -1283,7 +1283,7 @@ create_ses: s->out2in.port, s->in2out.fib_index); - snat_free_outside_address_and_port (sm, &s->out2in, + snat_free_outside_address_and_port (sm, thread_index, &s->out2in, s->outside_address_index); /* Remove in2out, out2in keys */ |