]> err.no Git - linux-2.6/blobdiff - net/ipv6/udp.c
[PATCH] sunrpc: cache_register can use wrong module reference
[linux-2.6] / net / ipv6 / udp.c
index 67d9a04b6902b842436c06732f9a7294d4ad36a2..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.