mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
netns: net_identifiers should be read_mostly
Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
615534bc49
commit
f99189b186
13 changed files with 13 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue