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
@ -35,7 +35,7 @@
|
||||
#define _X2KEY(x) ((x) == XFRM_INF ? 0 : (x))
|
||||
#define _KEY2X(x) ((x) == 0 ? XFRM_INF : (x))
|
||||
|
||||
static int pfkey_net_id;
|
||||
static int pfkey_net_id __read_mostly;
|
||||
struct netns_pfkey {
|
||||
/* List of all pfkey sockets. */
|
||||
struct hlist_head table;
|
||||
|
Reference in New Issue
Block a user