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
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user