Merge branch 'sk-const'
authorDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 07:27:33 +0000 (08:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 07:27:33 +0000 (08:27 +0100)
Guillaume Nault says:

====================
net: Mark the sk parameter of routing functions as 'const'.

The sk_getsecid security hook prevents the use of a const sk pointer in
several routing functions. Since this hook should only read sk data,
make its sk argument const (patch 1), then constify the sk parameter of
various routing functions (patches 2-4).

Build-tested with make allmodconfig.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge