]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/netfilter/nf_conntrack_proto_gre.c
netns: net_identifiers should be read_mostly
[net-next-2.6.git] / net / netfilter / nf_conntrack_proto_gre.c
index a54a0af0edbaa753fee5f65a80c84e95cd1b955e..91d0e719d67ca3bd873b71ab6f1082b69833c4d9 100644 (file)
@@ -43,7 +43,7 @@
 #define GRE_TIMEOUT            (30 * HZ)
 #define GRE_STREAM_TIMEOUT     (180 * HZ)
 
-static int proto_gre_net_id;
+static int proto_gre_net_id __read_mostly;
 struct netns_proto_gre {
        rwlock_t                keymap_lock;
        struct list_head        keymap_list;