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>
This commit is contained in:

committed by
Neale Ranns

parent
53f06a0148
commit
e4e8c6b082
@ -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:
|
||||
|
Reference in New Issue
Block a user