diff options
| author | Eric Dumazet <edumazet@google.com> | 2023-03-17 15:55:30 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-03-18 12:23:33 +0000 |
| commit | 94c540fbfc80ef95ec398fc77da1920de2946edb (patch) | |
| tree | 67b2d9b2150997513e35d9943517dd294b8c8c2f /lib/mpi/mpiutil.c | |
| parent | 39a86d059a78bf29b66dd8bbeab04af1d55c02ba (diff) | |
udp: preserve const qualifier in udp_sk()
We can change udp_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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
