commit | f99189b186f3922ede4fa33c02f6edc735b8c981 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Nov 17 10:42:49 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 18 05:03:25 2009 -0800 |
tree | e216447fc284d6ec98ac1550638ac3a79d71e084 | |
parent | 615534bc490606685621d63a40c0670d0f049d86 [diff] [blame] |
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>
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index a7de9e3..c5f6af5 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c
@@ -125,7 +125,7 @@ #define HASH_SIZE 16 -static int ipgre_net_id; +static int ipgre_net_id __read_mostly; struct ipgre_net { struct ip_tunnel *tunnels[4][HASH_SIZE];