nat: fix forwarding handoff workaround 94/29594/13
authorFilip Varga <fivarga@cisco.com>
Thu, 22 Oct 2020 09:13:00 +0000 (11:13 +0200)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 3 Dec 2020 22:55:02 +0000 (22:55 +0000)
commitc05e2852f6755f38065e633a3c1bcf7a502e1bf3
tree6177daf99d28112367dd75f619971ee43d8aae94
parent090096bff365b4ad69c061303c0852bf214b4f03
nat: fix forwarding handoff workaround

A special case when out2in packet needs to
be handoffed to other worker thread. We are
not able to determine which thread they belong
to in the first processing of nat handoff node.
These packets needs to go through out2in slowpath
before we are able to tell where to handoff them.

Type: fix
Ticket: VPP-1941

Change-Id: I7173bda970ce6a91d81f48fc72aa2457586a076f
Signed-off-by: Filip Varga <fivarga@cisco.com>
src/plugins/nat/nat.c
src/plugins/nat/nat.h
src/plugins/nat/nat44_handoff.c
src/plugins/nat/nat_ha.c
src/plugins/nat/out2in_ed.c
src/vnet/buffer.h