diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2020-02-13 07:49:30 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-03-23 13:24:20 +0000 |
commit | c2c1bfd9b72aec88526c06479b128725eb525866 (patch) | |
tree | 66162fc93eb9eedd9b242450231bcb990bd2ff21 /test | |
parent | f7f7f84ae9d949c5c872f9e31bb54cff7ca9c017 (diff) |
ipsec: fix chained ESP
This fixes a special case when buffer chain enters decrypt node
and becomes a single buffer after decryption.
Type: fix
Change-Id: I1d4da029b952baa97400adb7173aa63fd97d916b
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ipsec_esp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_ipsec_esp.py b/test/test_ipsec_esp.py index 5b057e750cc..cd5a88c1969 100644 --- a/test/test_ipsec_esp.py +++ b/test/test_ipsec_esp.py @@ -509,9 +509,10 @@ class RunTestIpsecEspAll(ConfigIpsecESP, count=NUM_PKTS) LARGE_PKT_SZ = [ + 1970, # results in 2 chained buffers entering decrypt node + # but leaving as simple buffer due to ICV removal (tra4) 4010, # ICV ends up splitted accross 2 buffers in esp_decrypt # for transport4; transport6 takes normal path - 4020, # same as above but tra4 and tra6 are switched ] if self.engine in engines_supporting_chain_bufs: |