]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv6/udplite.c
drm/nouveau/therm: rework thermal table parsing
[karo-tx-linux.git] / net / ipv6 / udplite.c
index 11a80d029e34b280d9060b16b5a8532a643a622c..1d08e21d9f6993e92a4a16b589784873aaf63fd8 100644 (file)
@@ -94,13 +94,20 @@ void udplitev6_exit(void)
 }
 
 #ifdef CONFIG_PROC_FS
+
+static const struct file_operations udplite6_afinfo_seq_fops = {
+       .owner    = THIS_MODULE,
+       .open     = udp_seq_open,
+       .read     = seq_read,
+       .llseek   = seq_lseek,
+       .release  = seq_release_net
+};
+
 static struct udp_seq_afinfo udplite6_seq_afinfo = {
        .name           = "udplite6",
        .family         = AF_INET6,
        .udp_table      = &udplite_table,
-       .seq_fops       = {
-               .owner  =       THIS_MODULE,
-       },
+       .seq_fops       = &udplite6_afinfo_seq_fops,
        .seq_ops        = {
                .show           = udp6_seq_show,
        },