summaryrefslogtreecommitdiffstats
path: root/test/test_ipsec_esp.py
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2020-02-13 07:49:30 +0000
committerNeale Ranns <nranns@cisco.com>2020-03-31 10:14:30 +0000
commite4e8c6b082bea8a80003024b24f1d002cbc0fcb1 (patch)
tree6c0c11bace88b8f174338f2f0ae728c869a02f50 /test/test_ipsec_esp.py
parent53f06a0148cd7ece2d48a3396e3e63f248d066e9 (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: Id5da9e8a074f83ec3561949631ce613f35528312 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'test/test_ipsec_esp.py')
-rw-r--r--test/test_ipsec_esp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_ipsec_esp.py b/test/test_ipsec_esp.py
index 2eaf705c84e..6be49ef21ce 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: