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>
This commit is contained in:

committed by
David S. Miller

parent
615534bc49
commit
f99189b186
@@ -97,7 +97,7 @@ static const struct proto_ops pppoe_ops;
|
||||
static struct ppp_channel_ops pppoe_chan_ops;
|
||||
|
||||
/* per-net private data for this module */
|
||||
static int pppoe_net_id;
|
||||
static int pppoe_net_id __read_mostly;
|
||||
struct pppoe_net {
|
||||
/*
|
||||
* we could use _single_ hash table for all
|
||||
|
Reference in New Issue
Block a user