summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/ipt_recent.c
diff options
context:
space:
mode:
authorPhilippe De Muyter2007-07-11 08:07:31 +0200
committerDavid S. Miller2007-07-11 08:07:31 +0200
commit56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch)
tree7e29d70405d9c8e28ddee3b03a07157477fc780f /net/ipv4/netfilter/ipt_recent.c
parent[UDP]: Fix length check. (diff)
downloadkernel-qcow2-linux-56b3d975bbce65f655c5612b4822da671f9fd9b2.tar.gz
kernel-qcow2-linux-56b3d975bbce65f655c5612b4822da671f9fd9b2.tar.xz
kernel-qcow2-linux-56b3d975bbce65f655c5612b4822da671f9fd9b2.zip
[NET]: Make all initialized struct seq_operations const.
Make all initialized struct seq_operations in net/ const Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ipt_recent.c')
-rw-r--r--net/ipv4/netfilter/ipt_recent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipt_recent.c b/net/ipv4/netfilter/ipt_recent.c
index a7b14f2ae2dc..321804315659 100644
--- a/net/ipv4/netfilter/ipt_recent.c
+++ b/net/ipv4/netfilter/ipt_recent.c
@@ -370,7 +370,7 @@ static int recent_seq_show(struct seq_file *seq, void *v)
return 0;
}
-static struct seq_operations recent_seq_ops = {
+static const struct seq_operations recent_seq_ops = {
.start = recent_seq_start,
.next = recent_seq_next,
.stop = recent_seq_stop,