diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-17 10:42:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 13:03:25 (GMT) |
commit | f99189b186f3922ede4fa33c02f6edc735b8c981 (patch) | |
tree | e216447fc284d6ec98ac1550638ac3a79d71e084 /net/8021q | |
parent | 615534bc490606685621d63a40c0670d0f049d86 (diff) | |
download | linux-f99189b186f3922ede4fa33c02f6edc735b8c981.tar.xz |
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>
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index 39f8d01..d9cb020 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c @@ -41,7 +41,7 @@ /* Global VLAN variables */ -int vlan_net_id; +int vlan_net_id __read_mostly; /* Our listing of VLAN group(s) */ static struct hlist_head vlan_group_hash[VLAN_GRP_HASH_SIZE]; |