aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/ipvs/ip_vs_app.c2
-rw-r--r--net/ipv4/ipvs/ip_vs_conn.c2
-rw-r--r--net/ipv4/ipvs/ip_vs_ctl.c2
-rw-r--r--net/ipv4/netfilter/ipt_CLUSTERIP.c2
-rw-r--r--net/ipv4/netfilter/ipt_recent.c2
-rw-r--r--net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c6
6 files changed, 8 insertions, 8 deletions
diff --git a/net/ipv4/ipvs/ip_vs_app.c b/net/ipv4/ipvs/ip_vs_app.c
index 15ad5dd2d984..8d6901d4e94f 100644
--- a/net/ipv4/ipvs/ip_vs_app.c
+++ b/net/ipv4/ipvs/ip_vs_app.c
@@ -549,7 +549,7 @@ static int ip_vs_app_seq_show(struct seq_file *seq, void *v)
549 return 0; 549 return 0;
550} 550}
551 551
552static struct seq_operations ip_vs_app_seq_ops = { 552static const struct seq_operations ip_vs_app_seq_ops = {
553 .start = ip_vs_app_seq_start, 553 .start = ip_vs_app_seq_start,
554 .next = ip_vs_app_seq_next, 554 .next = ip_vs_app_seq_next,
555 .stop = ip_vs_app_seq_stop, 555 .stop = ip_vs_app_seq_stop,
diff --git a/net/ipv4/ipvs/ip_vs_conn.c b/net/ipv4/ipvs/ip_vs_conn.c
index 7018f97c75dc..3b446b1a6b9c 100644
--- a/net/ipv4/ipvs/ip_vs_conn.c
+++ b/net/ipv4/ipvs/ip_vs_conn.c
@@ -745,7 +745,7 @@ static int ip_vs_conn_seq_show(struct seq_file *seq, void *v)
745 return 0; 745 return 0;
746} 746}
747 747
748static struct seq_operations ip_vs_conn_seq_ops = { 748static const struct seq_operations ip_vs_conn_seq_ops = {
749 .start = ip_vs_conn_seq_start, 749 .start = ip_vs_conn_seq_start,
750 .next = ip_vs_conn_seq_next, 750 .next = ip_vs_conn_seq_next,
751 .stop = ip_vs_conn_seq_stop, 751 .stop = ip_vs_conn_seq_stop,
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index 68fe1d4d0210..e1052bcf4ed1 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -1783,7 +1783,7 @@ static int ip_vs_info_seq_show(struct seq_file *seq, void *v)
1783 return 0; 1783 return 0;
1784} 1784}
1785 1785
1786static struct seq_operations ip_vs_info_seq_ops = { 1786static const struct seq_operations ip_vs_info_seq_ops = {
1787 .start = ip_vs_info_seq_start, 1787 .start = ip_vs_info_seq_start,
1788 .next = ip_vs_info_seq_next, 1788 .next = ip_vs_info_seq_next,
1789 .stop = ip_vs_info_seq_stop, 1789 .stop = ip_vs_info_seq_stop,
diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c
index 8bacda3f6f6c..dcc12b183474 100644
--- a/net/ipv4/netfilter/ipt_CLUSTERIP.c
+++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c
@@ -639,7 +639,7 @@ static int clusterip_seq_show(struct seq_file *s, void *v)
639 return 0; 639 return 0;
640} 640}
641 641
642static struct seq_operations clusterip_seq_ops = { 642static const struct seq_operations clusterip_seq_ops = {
643 .start = clusterip_seq_start, 643 .start = clusterip_seq_start,
644 .next = clusterip_seq_next, 644 .next = clusterip_seq_next,
645 .stop = clusterip_seq_stop, 645 .stop = clusterip_seq_stop,
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)
370 return 0; 370 return 0;
371} 371}
372 372
373static struct seq_operations recent_seq_ops = { 373static const struct seq_operations recent_seq_ops = {
374 .start = recent_seq_start, 374 .start = recent_seq_start,
375 .next = recent_seq_next, 375 .next = recent_seq_next,
376 .stop = recent_seq_stop, 376 .stop = recent_seq_stop,
diff --git a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
index 434e08410879..3da9d73d1b52 100644
--- a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
+++ b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
@@ -164,7 +164,7 @@ static int ct_seq_show(struct seq_file *s, void *v)
164 return 0; 164 return 0;
165} 165}
166 166
167static struct seq_operations ct_seq_ops = { 167static const struct seq_operations ct_seq_ops = {
168 .start = ct_seq_start, 168 .start = ct_seq_start,
169 .next = ct_seq_next, 169 .next = ct_seq_next,
170 .stop = ct_seq_stop, 170 .stop = ct_seq_stop,
@@ -282,7 +282,7 @@ static int exp_seq_show(struct seq_file *s, void *v)
282 return seq_putc(s, '\n'); 282 return seq_putc(s, '\n');
283} 283}
284 284
285static struct seq_operations exp_seq_ops = { 285static const struct seq_operations exp_seq_ops = {
286 .start = exp_seq_start, 286 .start = exp_seq_start,
287 .next = exp_seq_next, 287 .next = exp_seq_next,
288 .stop = exp_seq_stop, 288 .stop = exp_seq_stop,
@@ -386,7 +386,7 @@ static int ct_cpu_seq_show(struct seq_file *seq, void *v)
386 return 0; 386 return 0;
387} 387}
388 388
389static struct seq_operations ct_cpu_seq_ops = { 389static const struct seq_operations ct_cpu_seq_ops = {
390 .start = ct_cpu_seq_start, 390 .start = ct_cpu_seq_start,
391 .next = ct_cpu_seq_next, 391 .next = ct_cpu_seq_next,
392 .stop = ct_cpu_seq_stop, 392 .stop = ct_cpu_seq_stop,