diff options
author | Eric Dumazet <[email protected]> | 2023-03-17 15:55:31 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-03-18 12:23:33 +0000 |
commit | 68ac9a8b6e65c7cbbe96541353dab1b3f8de2043 (patch) | |
tree | 3c16170c8c27636a63b6f338c4e6be616d65eda7 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 94c540fbfc80ef95ec398fc77da1920de2946edb (diff) |
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 <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions