netns: net_identifiers should be read_mostly
[deliverable/linux.git] / net / key / af_key.c
index 86b2c22d091876cdfd3a26e3711b58a3bd0b32b0..478c8b32a5fb9802d3592614e8c971b16b644bd5 100644 (file)
@@ -35,7 +35,7 @@
 #define _X2KEY(x) ((x) == XFRM_INF ? 0 : (x))
 #define _KEY2X(x) ((x) == 0 ? XFRM_INF : (x))
 
-static int pfkey_net_id;
+static int pfkey_net_id __read_mostly;
 struct netns_pfkey {
        /* List of all pfkey sockets. */
        struct hlist_head table;
This page took 0.027124 seconds and 5 git commands to generate.