inet_diag: constify raw_lookup() socket argument
authorEric Dumazet <edumazet@google.com>
Thu, 16 Mar 2023 15:32:02 +0000 (15:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2023 08:56:37 +0000 (08:56 +0000)
commit736c8b52c8ada4ca93a59f7d597c5650ebc45921
tree9a96d9a2954793f393f6c63f699ed2c8455df5c1
parent0a8c2568209ee0c3392593c7c5c7fe41c625a383
inet_diag: constify raw_lookup() socket argument

Now both raw_v4_match() and raw_v6_match() accept a const socket,
raw_lookup() can do the same to clarify its role.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/raw_diag.c