summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/out2in.c
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-09-26 01:23:01 -0700
committerMatus Fabian <matfabia@cisco.com>2017-09-26 01:29:05 -0700
commit7865b5c8a4f11731d8c6d4627e505afe990989b4 (patch)
treec03b34d36ab0545ef84ebd9d21f692b06a90b0b0 /src/plugins/nat/out2in.c
parent51d2651e4aceff4016228c669480437eac84f221 (diff)
NAT: remove worker_by_in lookup hash table (VPP-992)
Change-Id: I3873d3e411bf93cac82e73a0b8e3b22563aaf217 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/nat/out2in.c')
-rwxr-xr-xsrc/plugins/nat/out2in.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/nat/out2in.c b/src/plugins/nat/out2in.c
index e5426c1a80e..802c3312a84 100755
--- a/src/plugins/nat/out2in.c
+++ b/src/plugins/nat/out2in.c
@@ -176,10 +176,6 @@ create_session_for_static_mapping (snat_main_t *sm,
/* add user */
clib_bihash_add_del_8_8 (&sm->per_thread_data[thread_index].user_hash,
&kv0, 1 /* is_add */);
-
- /* add non-traslated packets worker lookup */
- kv0.value = thread_index;
- clib_bihash_add_del_8_8 (&sm->worker_by_in, &kv0, 1);
}
else
{