linux/net/packet
Eric Dumazet 68ac9a8b6e af_packet: preserve const qualifier in pkt_sk()
We can change pkt_sk() to propagate const qualifier of its argument,
thanks to container_of_const()

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

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-03-18 12:23:33 +00:00
..
af_packet.c net/packet: convert po->pressure to an atomic flag 2023-03-17 08:52:06 +00:00
diag.c net/packet: convert po->running to an atomic flag 2023-03-17 08:52:06 +00:00
internal.h af_packet: preserve const qualifier in pkt_sk() 2023-03-18 12:23:33 +00:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00