]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/ipv4/ipip.c
netns: net_identifiers should be read_mostly
[mirror_ubuntu-zesty-kernel.git] / net / ipv4 / ipip.c
index c5b1f71c3cd8cadb0f131ea242d808ab51f9273f..7242ffcc44e5590103f53f91f2d828485dd98547 100644 (file)
 #define HASH_SIZE  16
 #define HASH(addr) (((__force u32)addr^((__force u32)addr>>4))&0xF)
 
-static int ipip_net_id;
+static int ipip_net_id __read_mostly;
 struct ipip_net {
        struct ip_tunnel *tunnels_r_l[HASH_SIZE];
        struct ip_tunnel *tunnels_r[HASH_SIZE];