summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat44_hairpinning.h
AgeCommit message (Collapse)AuthorFilesLines
2021-02-10nat: fix EI hairpinning thread safetyKlement Sekera1-0/+92
Avoid doing inter-thread reads without locks by doing a handoff before destination address rewrite. Destination address is read from a session which is possibly owned by a different thread. By splitting the work in two parts with a handoff in the middle, we can do both in a thread safe way. Type: improvement Signed-off-by: Klement Sekera <ksekera@cisco.com> Change-Id: I1c50d188393a610f5564fa230c75771a8065f273