summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt2008-01-31 13:53:24 +0100
committerDavid S. Miller2008-02-01 04:28:13 +0100
commit32948588ac4ec54300bae1037e839277fd4536e2 (patch)
tree69836aa043bcd3b5207047558bbbd4866f97dc36 /include
parent[NETFILTER]: nf_{conntrack,nat}_icmp: constify and annotate (diff)
downloadkernel-qcow2-linux-32948588ac4ec54300bae1037e839277fd4536e2.tar.gz
kernel-qcow2-linux-32948588ac4ec54300bae1037e839277fd4536e2.tar.xz
kernel-qcow2-linux-32948588ac4ec54300bae1037e839277fd4536e2.zip
[NETFILTER]: nf_conntrack: annotate l3protos with const
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nf_conntrack_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_conntrack_core.h b/include/net/netfilter/nf_conntrack_core.h
index 2b9e5713585a..9ee26469c759 100644
--- a/include/net/netfilter/nf_conntrack_core.h
+++ b/include/net/netfilter/nf_conntrack_core.h
@@ -68,8 +68,8 @@ static inline int nf_conntrack_confirm(struct sk_buff *skb)
int
print_tuple(struct seq_file *s, const struct nf_conntrack_tuple *tuple,
- struct nf_conntrack_l3proto *l3proto,
- struct nf_conntrack_l4proto *proto);
+ const struct nf_conntrack_l3proto *l3proto,
+ const struct nf_conntrack_l4proto *proto);
extern struct hlist_head *nf_conntrack_hash;
extern spinlock_t nf_conntrack_lock ;