diff options
author | Florian Westphal <fw@strlen.de> | 2017-10-12 09:38:30 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-24 18:01:50 +0200 |
commit | 28efb0046512e8a13ed9f9bdf0d68d10bbfbe9cf (patch) | |
tree | 0fa5e1c9027c867e0823ded5031626facca29550 /net/ipv6 | |
parent | d13e7b2e65f6dfbe97b845d75741a970181b9fec (diff) | |
download | linux-stable-28efb0046512e8a13ed9f9bdf0d68d10bbfbe9cf.tar.gz linux-stable-28efb0046512e8a13ed9f9bdf0d68d10bbfbe9cf.tar.bz2 linux-stable-28efb0046512e8a13ed9f9bdf0d68d10bbfbe9cf.zip |
netfilter: conntrack: make l3proto trackers const
previous patches removed all writes to them.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c index fe01dc953c56..3b80a38f62b8 100644 --- a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c +++ b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c @@ -339,7 +339,7 @@ static void ipv6_hooks_unregister(struct net *net) mutex_unlock(®ister_ipv6_hooks); } -struct nf_conntrack_l3proto nf_conntrack_l3proto_ipv6 __read_mostly = { +const struct nf_conntrack_l3proto nf_conntrack_l3proto_ipv6 = { .l3proto = PF_INET6, .pkt_to_tuple = ipv6_pkt_to_tuple, .invert_tuple = ipv6_invert_tuple, |