diff options
author | 2023-07-11 15:06:08 +0200 | |
---|---|---|
committer | 2023-07-14 08:27:33 +0100 | |
commit | 5b52ad34f9487b2c2d1e60fe37e5bd5656b4dac8 (patch) | |
tree | 8ab0e8d94ab54af6904da1725cb26775ada6f727 /net/ipv6/icmp.c | |
parent | Merge branch 'net-stmmac-replace-boolean-fields-in-plat_stmmacenet_data-with-flags' (diff) | |
download | linux-rng-5b52ad34f9487b2c2d1e60fe37e5bd5656b4dac8.tar.xz linux-rng-5b52ad34f9487b2c2d1e60fe37e5bd5656b4dac8.zip |
security: Constify sk in the sk_getsecid hook.
The sk_getsecid hook shouldn't need to modify its socket argument.
Make it const so that callers of security_sk_classify_flow() can use a
const struct sock *.
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/icmp.c')
0 files changed, 0 insertions, 0 deletions