summaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6_tables.c
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2017-08-01 12:25:01 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-08-02 14:25:57 +0200
commit2a04aabf5c96c9e25df488949b21223bcc623815 (patch)
tree79e4c908818fac3f97e2ea6b83dfef64e62fa55a /net/ipv6/netfilter/ip6_tables.c
parent5b9ccdcb98429b7e5c814772e3d9448c76441d87 (diff)
netfilter: constify nf_conntrack_l3/4proto parameters
When a nf_conntrack_l3/4proto parameter is not on the left hand side of an assignment, its address is not taken, and it is not passed to a function that may modify its fields, then it can be declared as const. This change is useful from a documentation point of view, and can possibly facilitate making some nf_conntrack_l3/4proto structures const subsequently. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/netfilter/ip6_tables.c')
0 files changed, 0 insertions, 0 deletions