nat: fix multi worker scenarios 64/31864/17
authorKlement Sekera <ksekera@cisco.com>
Wed, 31 Mar 2021 11:38:09 +0000 (13:38 +0200)
committerOle Tr�an <otroan@employees.org>
Wed, 21 Apr 2021 09:24:50 +0000 (09:24 +0000)
commit1fbf034e3ea97d507e41420248c99da7bdc916bf
tree772293b463e8924d675e3aa5a211c316d8502245
parent00338e09122e803cb31187cd85af69b8d6dbcb9c
nat: fix multi worker scenarios

Properly select worker from hash table in out2in direction, increase
number of worker threads in MW test to 4 to test these cases.

Type: fix
Change-Id: I76eda5761ff497b85b031dd913a64b7fcb53b33a
Signed-off-by: Klement Sekera <ksekera@cisco.com>
src/plugins/nat/nat44-ed/nat44_ed.c
src/plugins/nat/nat44-ed/nat44_ed_out2in.c
src/plugins/nat/test/test_nat44_ed.py