Files
linux/include/trace/events
Eric Dumazet abc17a11ed inet: preserve const qualifier in inet_sk()
We can change inet_sk() to propagate const qualifier of its argument.

This should avoid some potential errors caused by accidental
(const -> not_const) promotion.

Other helpers like tcp_sk(), udp_sk(), raw_sk() will be handled
in separate patch series.

v2: use container_of_const() as advised by Jakub and Linus

Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/netdev/20230315142841.3a2ac99a@kernel.org/
Link: https://lore.kernel.org/netdev/CAHk-=wiOf12nrYEF2vJMcucKjWPN-Ns_SW9fA7LwST_2Dzp7rw@mail.gmail.com/
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-03-17 08:56:37 +00:00
..
2020-11-30 12:54:01 +00:00
2022-12-07 13:54:09 -08:00
2022-11-21 09:45:49 -06:00
2022-09-21 10:30:42 -06:00
2023-01-13 16:39:18 +01:00
2022-12-08 21:49:12 -05:00
2022-09-26 19:46:14 -07:00
2023-02-02 22:33:13 -08:00
2022-08-03 17:50:58 +02:00
2022-12-10 11:01:12 -05:00
2022-07-30 14:01:30 -04:00
2023-02-20 08:28:49 +00:00