summaryrefslogtreecommitdiff
path: root/include/net/strparser.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-02-15 18:11:29 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-12 11:58:52 +0100
commit13b9fd0dee936e626245b12f1252cb84961925c0 (patch)
tree09a361ef8de25dae0f9a28eebb3a8017ce044893 /include/net/strparser.h
parentb2120ed7fd75157a6d83d0671ddf2050627718e3 (diff)
mptcp: mark ops structures as ro_after_init
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. 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 'include/net/strparser.h')
0 files changed, 0 insertions, 0 deletions