aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp_generic.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-11-17 05:42:49 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-18 08:03:25 -0500
commitf99189b186f3922ede4fa33c02f6edc735b8c981 (patch)
treee216447fc284d6ec98ac1550638ac3a79d71e084 /drivers/net/ppp_generic.c
parent615534bc490606685621d63a40c0670d0f049d86 (diff)
netns: net_identifiers should be read_mostly
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp_generic.c')
-rw-r--r--drivers/net/ppp_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
index 965adb6174c3..0a56a778af0a 100644
--- a/drivers/net/ppp_generic.c
+++ b/drivers/net/ppp_generic.c
@@ -184,7 +184,7 @@ static atomic_t ppp_unit_count = ATOMIC_INIT(0);
184static atomic_t channel_count = ATOMIC_INIT(0); 184static atomic_t channel_count = ATOMIC_INIT(0);
185 185
186/* per-net private data for this module */ 186/* per-net private data for this module */
187static int ppp_net_id; 187static int ppp_net_id __read_mostly;
188struct ppp_net { 188struct ppp_net {
189 /* units to ppp mapping */ 189 /* units to ppp mapping */
190 struct idr units_idr; 190 struct idr units_idr;