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)
commitf63cfa103be9b16c4491f1d58bbef3616fc61a92
tree17b02304475d9e7bc93574f2225a68d48523c134
parentdef3833fc6022c7f23bd4fd66ba5ed65c6b23272
parentdc4c399d215d76689ebadec7ed3184bcf213e2ee
Merge branch 'sk-const'

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>