aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/udplite.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/udplite.c')
-rw-r--r--net/ipv6/udplite.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c
index 11a80d029e34..1d08e21d9f69 100644
--- a/net/ipv6/udplite.c
+++ b/net/ipv6/udplite.c
@@ -94,13 +94,20 @@ void udplitev6_exit(void)
94} 94}
95 95
96#ifdef CONFIG_PROC_FS 96#ifdef CONFIG_PROC_FS
97
98static const struct file_operations udplite6_afinfo_seq_fops = {
99 .owner = THIS_MODULE,
100 .open = udp_seq_open,
101 .read = seq_read,
102 .llseek = seq_lseek,
103 .release = seq_release_net
104};
105
97static struct udp_seq_afinfo udplite6_seq_afinfo = { 106static struct udp_seq_afinfo udplite6_seq_afinfo = {
98 .name = "udplite6", 107 .name = "udplite6",
99 .family = AF_INET6, 108 .family = AF_INET6,
100 .udp_table = &udplite_table, 109 .udp_table = &udplite_table,
101 .seq_fops = { 110 .seq_fops = &udplite6_afinfo_seq_fops,
102 .owner = THIS_MODULE,
103 },
104 .seq_ops = { 111 .seq_ops = {
105 .show = udp6_seq_show, 112 .show = udp6_seq_show,
106 }, 113 },