[NET]: use __read_mostly on kmem_cache_t , DEFINE_SNMP_STAT pointers
[deliverable/linux.git] / net / ipv4 / udp.c
index 3a5bbbe7dd85586668fc5f20ae57fff150ac401e..e5beca7de86c4b67e7455172ac66f6a7ad54ad49 100644 (file)
  *     Snmp MIB for the UDP layer
  */
 
-DEFINE_SNMP_STAT(struct udp_mib, udp_statistics);
+DEFINE_SNMP_STAT(struct udp_mib, udp_statistics) __read_mostly;
 
 struct hlist_head udp_hash[UDP_HTABLE_SIZE];
 DEFINE_RWLOCK(udp_hash_lock);
This page took 0.045237 seconds and 5 git commands to generate.