]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/ppp_generic.c
netns: net_identifiers should be read_mostly
[net-next-2.6.git] / drivers / net / ppp_generic.c
index 965adb6174c33a4b65223fabd7372f3da4781b35..0a56a778af0a0eeb3c96fa964e2699a83b40f0d6 100644 (file)
@@ -184,7 +184,7 @@ static atomic_t ppp_unit_count = ATOMIC_INIT(0);
 static atomic_t channel_count = ATOMIC_INIT(0);
 
 /* per-net private data for this module */
-static int ppp_net_id;
+static int ppp_net_id __read_mostly;
 struct ppp_net {
        /* units to ppp mapping */
        struct idr units_idr;