]> err.no Git - linux-2.6/blobdiff - net/ipv6/udp.c
[PATCH] sunrpc: print unsigned integers in stats
[linux-2.6] / net / ipv6 / udp.c
index c348307e57737230d8d7d4b2a5135e86a89ca9e1..390d750449ce6f801dd3ed906dd68fa7bcc20126 100644 (file)
@@ -59,7 +59,7 @@
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 
-DEFINE_SNMP_STAT(struct udp_mib, udp_stats_in6);
+DEFINE_SNMP_STAT(struct udp_mib, udp_stats_in6) __read_mostly;
 
 /* Grrr, addr_type already calculated by caller, but I don't want
  * to add some silly "cookie" argument to this method just for that.
@@ -1054,8 +1054,6 @@ struct proto udpv6_prot = {
        .obj_size =     sizeof(struct udp6_sock),
 };
 
-extern struct proto_ops inet6_dgram_ops;
-
 static struct inet_protosw udpv6_protosw = {
        .type =      SOCK_DGRAM,
        .protocol =  IPPROTO_UDP,