Mike Pattrick
3ffb1c4012
ipf: Complete l4 checksum before frag out.
...
Previously during NAT actions we could calculate a checksum on a packet,
if this checksum was valid we would mark it as such for offloading. Then
when modifying the packet we would check if we set the checksum as
partial. This worked fine for most packets, but fragmented packets can
not complete their checksum because we process these packets one at a
time instead of all at once. This breaks NAT of fragmented packets in
userspace conntrack.
This patch resolves any outstanding checksums on the reassembled
fragment before adding the fragments to a batch.
Reported-at: https://issues.redhat.com/browse/FDP-1571
Reported-by: Hekai Wang <hewang@redhat.com>
Fixes: e36793e11fe8 ("dp-packet: Resolve unknown checksums.")
Acked-by: Paolo Valerio <pvalerio@redhat.com>
Signed-off-by: Mike Pattrick <mkp@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
2025-08-15 20:55:07 +02:00
..
2022-05-04 18:39:24 +02:00
2024-09-12 17:29:42 +02:00
2023-08-23 13:49:45 +02:00
2023-06-29 22:13:55 +02:00
2024-07-09 13:49:35 +02:00
2024-12-13 13:00:27 +01:00
2025-01-16 21:11:18 +01:00
2020-07-27 14:50:17 -07:00
2020-08-17 21:38:47 +02:00
2020-10-21 11:28:24 -07:00
2018-06-11 15:32:00 -07:00
2019-09-27 09:23:50 -07:00
2025-07-16 08:39:25 -04:00
2025-05-26 17:38:52 +02:00
2022-07-12 15:45:42 +02:00
2019-09-27 09:23:50 -07:00
2024-01-17 10:43:26 +01:00
2023-12-05 21:54:48 +01:00
2025-06-19 21:00:54 +02:00
2024-07-15 11:31:09 +02:00
2021-12-03 23:20:15 +01:00
2022-05-04 18:39:24 +02:00
2018-09-10 12:33:57 -07:00
2023-12-21 14:52:27 +01:00
2021-08-28 02:59:04 +02:00
2021-08-28 02:59:04 +02:00
2019-09-27 09:23:50 -07:00
2019-09-27 09:23:50 -07:00
2020-10-21 11:28:24 -07:00
2023-09-06 17:00:08 +02:00
2023-04-25 18:20:32 +02:00
2025-04-25 21:29:10 +02:00
2024-01-19 13:52:40 +01:00
2022-01-17 02:04:20 +01:00
2019-06-09 16:19:33 -07:00
2018-06-11 15:31:59 -07:00
2024-02-21 20:46:32 +01:00
2024-07-14 17:19:52 +02:00
2024-07-17 16:29:37 +02:00
2019-02-05 09:21:19 -08:00
2023-12-15 00:35:41 +01:00
2025-08-15 20:55:07 +02:00
2025-01-23 15:30:53 +01:00
2023-10-05 10:36:37 +02:00
2025-07-04 17:43:55 +02:00
2024-10-30 14:55:59 +01:00
2025-05-21 17:55:29 +02:00
2025-07-15 21:53:53 +02:00
2025-07-15 18:05:32 +02:00
2024-01-08 22:41:36 +01:00
2019-04-22 13:02:58 -07:00
2025-04-03 22:04:49 +02:00
2018-10-03 18:13:48 -07:00
2021-09-24 15:01:38 +02:00
2025-07-15 18:05:32 +02:00
2025-07-01 12:52:17 +02:00
2023-05-31 21:30:10 +02:00
2024-09-26 08:30:53 +02:00
2025-07-15 18:05:32 +02:00
2020-08-26 13:05:01 +02:00
2023-09-25 12:53:06 +02:00
2018-06-11 15:32:00 -07:00
2025-07-15 18:05:32 +02:00
2024-03-08 20:21:27 +01:00
2019-10-24 14:25:40 -07:00
2018-06-11 15:32:00 -07:00
2018-06-11 15:32:00 -07:00
2025-07-15 18:05:32 +02:00
2025-07-15 18:05:32 +02:00
2019-04-15 12:54:38 -07:00
2024-02-21 20:46:32 +01:00
2023-12-16 01:07:59 +01:00
2022-07-15 20:14:24 +02:00
2022-02-24 17:04:32 +01:00
2024-02-15 22:24:43 +01:00
2018-06-11 15:32:00 -07:00
2018-06-11 15:32:00 -07:00
2024-06-06 00:12:37 +02:00
2024-02-15 22:24:43 +01:00
2019-11-20 16:48:26 +01:00
2019-12-18 02:02:52 +01:00
2025-07-15 18:05:32 +02:00
2025-02-17 10:04:02 +01:00
2024-01-10 11:05:12 +00:00
2024-06-07 11:43:37 +01:00
2023-11-21 09:40:49 +00:00
2024-08-08 21:55:43 +02:00
2023-07-31 13:57:57 +02:00
2025-06-25 12:43:29 +02:00
2025-07-04 17:43:55 +02:00
2021-04-01 19:13:31 +02:00
2024-02-21 20:46:27 +01:00
2025-07-04 17:43:55 +02:00
2023-02-08 22:14:22 +01:00
2025-02-26 13:17:55 +01:00
2025-01-16 21:11:18 +01:00
2024-11-29 11:56:10 +01:00
2025-05-08 09:27:43 +02:00
2022-07-13 17:39:22 +02:00
2020-05-14 07:22:35 -07:00
2025-01-15 08:52:17 -05:00
2023-10-26 22:28:43 +02:00
2020-07-21 06:23:49 -07:00
2025-06-10 17:02:58 +02:00
2023-03-06 19:27:19 +01:00
2023-08-23 13:46:14 +02:00
2020-10-21 11:28:24 -07:00
2025-04-25 21:29:10 +02:00
2025-02-10 09:26:42 +01:00
2025-05-26 17:38:52 +02:00
2022-03-30 16:59:02 +02:00
2024-05-03 12:51:12 +01:00
2024-01-17 14:41:18 +01:00
2022-12-21 19:18:57 +01:00
2018-10-05 17:35:07 -07:00
2022-05-17 23:06:46 +02:00
2022-03-30 16:59:03 +02:00
2022-03-30 16:59:02 +02:00
2023-10-31 15:00:17 +00:00
2025-06-30 16:53:56 +02:00
2019-12-20 12:23:06 -08:00
2025-06-30 16:53:56 +02:00
2023-11-01 10:54:19 +01:00
2024-01-10 16:16:08 -05:00
2025-03-17 21:06:23 +01:00
2018-06-11 15:32:00 -07:00
2022-09-16 12:53:41 +02:00
2023-10-31 15:00:17 +00:00
2024-11-29 18:31:44 +01:00
2023-03-22 18:56:02 +01:00
2022-01-04 19:14:11 +01:00
2024-09-09 10:22:16 +02:00
2022-12-21 19:18:38 +01:00
2024-12-13 13:00:56 +01:00
2025-07-15 18:05:32 +02:00
2025-06-19 12:37:29 +02:00
2025-02-10 09:26:42 +01:00
2024-07-15 11:31:09 +02:00
2022-05-30 23:34:39 +02:00
2023-01-11 17:44:55 +01:00
2021-01-07 10:58:53 -08:00
2021-06-22 21:29:57 +02:00
2024-02-15 22:24:43 +01:00
2023-03-22 18:56:02 +01:00
2022-05-26 11:43:53 +02:00
2023-05-11 21:41:03 +02:00
2023-05-11 21:41:03 +02:00
2023-03-22 18:56:02 +01:00
2018-08-15 11:04:39 -07:00
2024-04-30 17:23:00 +02:00
2022-09-27 01:17:56 +02:00
2022-10-06 22:01:09 +02:00
2019-12-20 12:23:06 -08:00
2023-04-25 18:20:32 +02:00
2025-05-21 23:45:51 +02:00
2025-06-19 21:00:54 +02:00
2025-07-15 18:05:32 +02:00
2024-07-09 13:49:35 +02:00
2020-08-26 13:05:01 +02:00
2024-06-03 14:50:46 +02:00
2023-05-31 21:30:10 +02:00