netns: net_identifiers should be read_mostly
[safe/jmp/linux-2.6] / net / phonet / pn_dev.c
index 3287f8f..d5ad794 100644 (file)
@@ -43,7 +43,7 @@ struct phonet_net {
        struct phonet_routes routes;
 };
 
-int phonet_net_id;
+int phonet_net_id __read_mostly;
 
 struct phonet_device_list *phonet_device_list(struct net *net)
 {