diff options
Diffstat (limited to 'net/ipv4')
| -rw-r--r-- | net/ipv4/ip_gre.c | 2 | ||||
| -rw-r--r-- | net/ipv4/ipip.c | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index a7de9e3a8f18..c5f6af5d0f34 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
| @@ -125,7 +125,7 @@ static int ipgre_tunnel_bind_dev(struct net_device *dev); | |||
| 125 | 125 | ||
| 126 | #define HASH_SIZE 16 | 126 | #define HASH_SIZE 16 | 
| 127 | 127 | ||
| 128 | static int ipgre_net_id; | 128 | static int ipgre_net_id __read_mostly; | 
| 129 | struct ipgre_net { | 129 | struct ipgre_net { | 
| 130 | struct ip_tunnel *tunnels[4][HASH_SIZE]; | 130 | struct ip_tunnel *tunnels[4][HASH_SIZE]; | 
| 131 | 131 | ||
| diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index c5b1f71c3cd8..7242ffcc44e5 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
| @@ -119,7 +119,7 @@ | |||
| 119 | #define HASH_SIZE 16 | 119 | #define HASH_SIZE 16 | 
| 120 | #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) | 120 | #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF) | 
| 121 | 121 | ||
| 122 | static int ipip_net_id; | 122 | static int ipip_net_id __read_mostly; | 
| 123 | struct ipip_net { | 123 | struct ipip_net { | 
| 124 | struct ip_tunnel *tunnels_r_l[HASH_SIZE]; | 124 | struct ip_tunnel *tunnels_r_l[HASH_SIZE]; | 
| 125 | struct ip_tunnel *tunnels_r[HASH_SIZE]; | 125 | struct ip_tunnel *tunnels_r[HASH_SIZE]; | 
