gre: Net namespace identifiers are read_mostly.
[openvswitch] / datapath / linux-2.6 / compat-2.6 / ip_gre.c
index 2f1a9adbeb78f201dc25d2611fde59e906b97da5..9a7ea96f120eb40ec7746208fd2f85fc52ef45ac 100644 (file)
@@ -147,7 +147,7 @@ static int ipgre_tunnel_bind_dev(struct net_device *dev);
 
 #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];