Eric Dumazet
e8dfd42c17
ipv6: introduce dst_rt6_info() helper
...
Instead of (struct rt6_info *)dst casts, we can use :
#define dst_rt6_info(_ptr) \
container_of_const(_ptr, struct rt6_info, dst)
Some places needed missing const qualifiers :
ip6_confirm_neigh(), ipv6_anycast_destination(),
ipv6_unicast_destination(), has_gateway()
v2: added missing parts (David Ahern)
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-04-29 13:32:01 +01:00
..
2024-02-09 14:12:01 -08:00
2024-02-12 21:18:54 +09:00
2023-10-28 11:29:28 +01:00
2024-03-29 15:06:02 -07:00
2023-12-26 20:31:01 +00:00
2024-04-08 13:20:51 +01:00
2024-04-25 12:41:37 -07:00
2024-04-11 14:23:47 -07:00
2024-04-29 13:32:01 +01:00
2024-03-18 14:18:47 -07:00
2024-04-25 12:41:37 -07:00
2024-04-02 18:20:00 -07:00
2024-02-20 15:32:45 +01:00
2024-03-06 12:43:01 +01:00
2024-04-29 13:32:01 +01:00
2023-08-01 21:07:46 -07:00
2024-04-26 15:34:00 +02:00
2024-04-22 13:05:19 -07:00
2024-01-11 10:07:29 -08:00
2024-04-22 13:05:19 -07:00
2024-04-25 08:20:54 -07:00
2024-04-18 18:27:02 -07:00
2024-04-16 17:14:55 -07:00
2024-04-26 12:04:43 +02:00
2024-04-22 08:56:31 +01:00
2023-12-15 10:50:18 +00:00
2024-04-29 13:32:01 +01:00
2024-04-29 13:32:01 +01:00
2024-04-02 18:19:09 -07:00
2024-03-11 09:53:22 +00:00
2024-02-09 14:12:01 -08:00
2024-04-29 13:32:01 +01:00
2024-01-30 13:49:09 +01:00
2024-04-25 12:41:37 -07:00
2024-03-06 21:01:26 +01:00
2024-02-29 14:24:56 -08:00
2024-04-29 13:32:01 +01:00
2024-04-26 15:34:00 +02:00
2023-11-18 15:00:51 +00:00
2024-04-29 13:32:01 +01:00
2024-02-28 19:37:34 -08:00
2024-04-23 10:09:49 -07:00
2024-03-07 10:36:58 +01:00
2024-04-12 18:52:35 -07:00
2023-06-10 00:11:41 -07:00
2024-04-25 12:41:37 -07:00
2024-04-08 13:19:01 +01:00
2024-02-22 09:05:50 +01:00
2024-04-01 10:49:28 +01:00
2024-01-01 18:41:29 +00:00
2024-03-29 12:04:09 -07:00
2024-03-25 15:40:22 +01:00
2023-12-15 11:59:53 +00:00
2024-03-29 15:03:11 -07:00
2024-04-26 10:46:41 +02:00
2024-04-29 13:32:01 +01:00
2024-04-22 08:56:31 +01:00
2024-04-22 12:20:09 -07:00
2024-02-16 09:36:37 +00:00
2024-04-12 19:07:31 -07:00
2024-04-25 12:41:37 -07:00
2024-04-25 08:37:02 -07:00
2024-04-02 18:00:24 -07:00
2024-04-25 12:41:37 -07:00
2024-03-11 09:53:22 +00:00
2024-04-05 22:47:22 -07:00
2024-04-29 13:32:01 +01:00
2023-12-12 14:24:14 +01:00
2024-04-06 17:34:31 +01:00
2024-01-31 16:41:16 -08:00
2024-03-14 16:48:53 -07:00
2023-08-15 15:26:17 -07:00