diff options
| author | Florian Westphal <fw@strlen.de> | 2017-08-11 18:57:08 -0400 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-24 12:52:33 -0400 |
| commit | b3480fe059ac9121b5714205b4ddae14b59ef4be (patch) | |
| tree | fb417ab4fcac08d57e94833257a35683287070f6 /net/openvswitch | |
| parent | ea48cc83cf612fddb4e8868369348b9f936cfedb (diff) | |
netfilter: conntrack: make protocol tracker pointers const
Doesn't change generated code, but will make it easier to eventually
make the actual trackers themselvers const.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/openvswitch')
| -rw-r--r-- | net/openvswitch/conntrack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c index e3c4c6c3fef7..283363534647 100644 --- a/net/openvswitch/conntrack.c +++ b/net/openvswitch/conntrack.c | |||
| @@ -579,8 +579,8 @@ static struct nf_conn * | |||
| 579 | ovs_ct_find_existing(struct net *net, const struct nf_conntrack_zone *zone, | 579 | ovs_ct_find_existing(struct net *net, const struct nf_conntrack_zone *zone, |
| 580 | u8 l3num, struct sk_buff *skb, bool natted) | 580 | u8 l3num, struct sk_buff *skb, bool natted) |
| 581 | { | 581 | { |
| 582 | struct nf_conntrack_l3proto *l3proto; | 582 | const struct nf_conntrack_l3proto *l3proto; |
| 583 | struct nf_conntrack_l4proto *l4proto; | 583 | const struct nf_conntrack_l4proto *l4proto; |
| 584 | struct nf_conntrack_tuple tuple; | 584 | struct nf_conntrack_tuple tuple; |
| 585 | struct nf_conntrack_tuple_hash *h; | 585 | struct nf_conntrack_tuple_hash *h; |
| 586 | struct nf_conn *ct; | 586 | struct nf_conn *ct; |
