Justin Iurman
f198d933c2
Fix write to cloned skb in ipv6_hop_ioam()
...
ioam6_fill_trace_data() writes inside the skb payload without ensuring
it's writeable (e.g., not cloned). This function is called both from the
input and output path. The output path (ioam6_iptunnel) already does the
check. This commit provides a fix for the input path, inside
ipv6_hop_ioam(). It also updates ip6_parse_tlv() to refresh the network
header pointer ("nh") when returning from ipv6_hop_ioam().
Fixes: 9ee11f0fff ("ipv6: ioam: Data plane support for Pre-allocated Trace")
Reported-by: Paolo Abeni <pabeni@redhat.com >
Signed-off-by: Justin Iurman <justin.iurman@uliege.be >
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
2024-02-22 09:28:03 +01:00
..
2023-08-02 12:28:16 -07:00
2024-01-17 12:02:49 +01:00
2024-01-30 12:43:18 +01:00
2024-02-18 10:22:27 +00:00
2022-11-07 12:26:15 +00:00
2024-01-23 13:44:50 +01:00
2024-02-09 14:12:01 -08:00
2023-07-28 11:01:56 +01:00
2021-03-04 15:26:57 -08:00
2023-12-11 10:59:17 +00:00
2023-10-06 07:31:14 +02:00
2024-02-09 14:12:01 -08:00
2023-05-24 08:43:39 +01:00
2024-01-05 08:11:49 -08:00
2024-02-22 09:28:03 +01:00
2024-01-03 16:42:48 -08:00
2023-12-11 10:59:17 +00:00
2023-10-01 19:09:54 +01:00
2023-07-31 13:53:10 -07:00
2023-10-26 16:24:09 -07:00
2022-08-29 12:47:15 +01:00
2023-12-21 09:01:30 +01:00
2023-09-15 10:33:48 +01:00
2023-07-19 12:25:58 +01:00
2021-02-23 11:29:52 -08:00
2023-09-01 08:11:51 +01:00
2024-01-05 08:11:49 -08:00
2024-02-15 12:04:04 +01:00
2024-01-26 14:16:40 -08:00
2024-02-09 14:12:01 -08:00
2023-10-06 08:31:53 +02:00
2024-01-03 16:42:48 -08:00
2022-09-29 07:18:00 +02:00
2023-12-15 11:01:27 +00:00
2023-08-16 10:03:08 +01:00
2023-10-27 10:35:44 +01:00
2021-04-27 14:02:06 -07:00
2024-01-18 09:52:30 -08:00
2024-02-09 14:12:01 -08:00
2023-10-20 12:01:00 +01:00
2023-10-06 08:31:53 +02:00
2022-11-18 02:15:22 +01:00
2023-12-11 10:59:17 +00:00
2023-10-20 12:01:00 +01:00
2023-12-11 10:59:17 +00:00
2023-08-15 15:26:18 -07:00
2023-12-21 09:01:30 +01:00
2023-07-12 17:12:29 -07:00
2023-06-19 11:32:58 -07:00
2022-06-28 21:23:30 -07:00
2023-05-17 09:05:47 +01:00
2023-08-15 18:51:47 -07:00
2024-02-20 10:17:14 +01:00
2024-02-09 14:12:01 -08:00
2023-11-29 20:16:38 -08:00
2023-08-15 15:26:18 -07:00
2023-10-27 10:35:46 +01:00
2024-01-08 19:08:51 -08:00
2023-05-31 09:50:17 +01:00
2024-02-09 14:12:01 -08:00
2022-10-12 17:50:37 -07:00
2023-07-29 17:10:27 +01:00
2024-01-13 15:46:20 +00:00
2023-09-14 16:16:36 +02:00
2023-10-23 07:10:39 +02:00
2023-10-25 18:04:29 -07:00
2023-10-17 18:21:13 -07:00
2024-02-09 14:12:01 -08:00