ipsec: fix transpose local ip range position with remote ip range in fast path implem... 04/37504/4
authorPiotr Bronowski <piotrx.bronowski@intel.com>
Fri, 21 Oct 2022 15:48:55 +0000 (15:48 +0000)
committerFan Zhang <fanzhang.oss@gmail.com>
Mon, 16 Jan 2023 14:54:06 +0000 (14:54 +0000)
commit1d9780a43fe54a55c7540f3528b8703ede0a5871
treeda7bc83cdd7f214bab2db46dfd535c1bf2a3a7b0
parente917bf75d911fae3a553b77e64cd4c37984948a8
ipsec: fix transpose local ip range position with remote ip range in fast path implementation

In fast path implementation of spd policy lookup  opposite convention to
the original implementation has been applied and local ip range has been
interchanged with the remote ip range. This fix addresses this issue.

Type: fix
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Change-Id: I0b6cccc80bf52b34524e98cfd1f1d542008bb7d0
src/vnet/ipsec/ipsec_input.c
src/vnet/ipsec/ipsec_spd_fp_lookup.h
test/test_ipsec_spd_fp_input.py