diff options
author | Florian Westphal <fw@strlen.de> | 2017-04-20 09:54:23 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-04-26 09:30:22 +0200 |
commit | 23f671a1b56a4493075ab7263c78c526ac12a592 (patch) | |
tree | 252eee15cd7524dadccc87097b6e245d686936ea /net/netfilter/nf_conntrack_helper.c | |
parent | 54044b1f0204da158a6a395bd02b63bb02ffff98 (diff) | |
download | op-kernel-dev-23f671a1b56a4493075ab7263c78c526ac12a592.zip op-kernel-dev-23f671a1b56a4493075ab7263c78c526ac12a592.tar.gz |
netfilter: conntrack: mark extension structs as const
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_helper.c')
-rw-r--r-- | net/netfilter/nf_conntrack_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_helper.c b/net/netfilter/nf_conntrack_helper.c index 8239b44..a57a52f 100644 --- a/net/netfilter/nf_conntrack_helper.c +++ b/net/netfilter/nf_conntrack_helper.c @@ -535,7 +535,7 @@ void nf_conntrack_helpers_unregister(struct nf_conntrack_helper *helper, } EXPORT_SYMBOL_GPL(nf_conntrack_helpers_unregister); -static struct nf_ct_ext_type helper_extend __read_mostly = { +static const struct nf_ct_ext_type helper_extend = { .len = sizeof(struct nf_conn_help), .align = __alignof__(struct nf_conn_help), .id = NF_CT_EXT_HELPER, |