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
@@ -78,7 +78,7 @@ static void ip6_fb_tnl_dev_init(struct net_device *dev);
|
||||
static void ip6_tnl_dev_init(struct net_device *dev);
|
||||
static void ip6_tnl_dev_setup(struct net_device *dev);
|
||||
|
||||
static int ip6_tnl_net_id;
|
||||
static int ip6_tnl_net_id __read_mostly;
|
||||
struct ip6_tnl_net {
|
||||
/* the IPv6 tunnel fallback device */
|
||||
struct net_device *fb_tnl_dev;
|
||||
|
Reference in New Issue
Block a user