summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorMat Martineau <mathew.j.martineau@linux.intel.com>2023-01-07 04:46:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-14 12:16:51 +0300
commit5aa15a8400cc3f05e7884975f29fa0c1f9362f2e (patch)
tree273706908e6489b4557a449579aeb804ef022b39 /net/ipv4
parentf5ef26276bb077e3da7a629e0c42875fa3e41911 (diff)
downloadlinux-5aa15a8400cc3f05e7884975f29fa0c1f9362f2e.tar.xz
mptcp: mark ops structures as ro_after_init
From: Florian Westphal <fw@strlen.de> commit 51fa7f8ebf0e25c7a9039fa3988a623d5f3855aa upstream. These structures are initialised from the init hooks, so we can't make them 'const'. But no writes occur afterwards, so we can use ro_after_init. Also, remove bogus EXPORT_SYMBOL, the only access comes from ip stack, not from kernel modules. Cc: stable@vger.kernel.org # 5.10 Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions