]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/netfilter/nf_nat_core.c
[NETFILTER]: nf_conntrack_extend: use __read_mostly for struct nf_ct_ext_type
[~andy/linux] / net / ipv4 / netfilter / nf_nat_core.c
index 7e31777082de37c1ac79c01ebccfbfe17fa53688..04691edf50c20c1bb3a240e9748443ea6940fccd 100644 (file)
@@ -623,7 +623,7 @@ static void nf_nat_move_storage(struct nf_conn *conntrack, void *old)
        write_unlock_bh(&nf_nat_lock);
 }
 
-struct nf_ct_ext_type nat_extend = {
+static struct nf_ct_ext_type nat_extend __read_mostly = {
        .len            = sizeof(struct nf_conn_nat),
        .align          = __alignof__(struct nf_conn_nat),
        .destroy        = nf_nat_cleanup_conntrack,