PiotrX Kleski
8b4221ee8f
ipsec: fixed chaining ops after add footer and icv
...
In case there is no free space in first buffer for ICV and footer,
additional buffer will be added, but esp_encrypt will stay in single
buffer mode.
The issue happens for the following payload sizes:
- TCP packets with payload 1992
- ICMP packets with payload 2004
This fix moves the single/chained buffer ops selection to after
esp_add_footer_and_icv call.
Type: fix
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Signed-off-by: PiotrX Kleski <piotrx.kleski@intel.com>
Change-Id: Ic5ceba418f738933f96edb3e489ca2d149033b79
(cherry picked from commit fdca4dd1a1a817e65bf44e435261d893fc0c51d6)
2020-05-25 16:01:25 +00:00
..
2020-05-04 14:03:21 +00:00
2020-05-05 18:36:33 +00:00
2020-05-05 20:50:10 +00:00
2020-04-28 11:54:00 +00:00
2020-04-28 11:10:50 +00:00
2020-04-07 17:19:42 +00:00
2020-04-07 17:19:42 +00:00
2020-01-16 15:55:12 +00:00
2019-12-20 04:09:09 +00:00
2020-04-10 12:21:30 +00:00
2020-05-03 15:21:42 -04:00
2020-04-06 11:30:05 +00:00
2020-05-03 15:21:42 -04:00
2019-12-14 22:14:12 +00:00
2020-04-28 20:55:20 +00:00
2020-02-05 15:34:49 +00:00
2019-12-17 10:56:20 +00:00
2020-03-27 12:46:42 +00:00
2020-05-03 15:21:42 -04:00
2020-02-21 09:54:19 +00:00
2020-05-05 11:34:40 +00:00
2019-12-17 10:56:20 +00:00
2020-05-03 15:21:42 -04:00
2020-05-20 16:34:42 +00:00
2020-05-03 15:21:42 -04:00
2020-05-20 16:34:42 +00:00
2019-12-17 10:56:20 +00:00
2020-02-21 09:54:19 +00:00
2019-12-23 21:39:23 +00:00
2020-05-05 18:36:33 +00:00
2020-05-25 16:01:25 +00:00
2020-05-13 11:30:34 +00:00
2020-03-09 13:46:29 +00:00
2019-12-17 10:56:20 +00:00
2019-12-23 07:33:12 +00:00
2020-04-28 11:54:00 +00:00
2019-12-27 00:17:01 -05:00
2020-04-30 20:24:45 +00:00
2020-04-30 13:25:29 +02:00
2020-04-24 15:01:29 +00:00
2020-04-27 15:07:59 +00:00
2019-12-17 10:56:20 +00:00
2020-03-27 12:46:42 +00:00
2020-02-26 08:51:03 +00:00
2020-03-05 15:26:51 +00:00
2019-12-17 10:56:20 +00:00
2020-03-16 09:18:46 +00:00
2019-12-17 10:56:20 +00:00
2020-04-07 08:21:43 +00:00
2020-05-03 15:21:42 -04:00
2020-05-01 18:08:45 +00:00
2020-03-05 15:26:51 +00:00
2020-03-05 15:26:51 +00:00
2019-12-17 23:46:48 +00:00
2020-04-06 14:53:31 +00:00
2019-12-11 15:23:55 +00:00
2020-03-10 23:40:35 +00:00
2020-04-28 20:55:20 +00:00
2020-05-03 15:21:42 -04:00
2020-05-03 15:21:42 -04:00
2020-05-03 15:21:42 -04:00
2020-05-03 15:21:42 -04:00
2020-05-05 20:50:10 +00:00
2020-05-01 18:08:45 +00:00
2020-01-30 20:12:19 +00:00
2020-05-03 15:21:42 -04:00
2020-04-28 16:42:36 +00:00
2020-04-28 15:43:28 +00:00
2020-01-27 20:40:30 +00:00
2020-05-05 18:36:33 +00:00
2020-04-28 15:43:28 +00:00
2020-05-05 18:36:33 +00:00
2020-04-06 11:30:05 +00:00
2020-03-12 12:28:47 +00:00
2020-02-21 09:54:19 +00:00
2020-04-27 09:25:32 -07:00
2020-03-16 09:18:46 +00:00