From: Patrick McHardy Date: Wed, 5 Dec 2007 09:29:38 +0000 (-0800) Subject: [NETFILTER]: nfnetlink_queue: mark hash table __read_mostly X-Git-Tag: MMI-PSA29.97-13-9~37648^2~1227 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d6023ab8b97f5074f9007c92d38fef9ae04e56b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [NETFILTER]: nfnetlink_queue: mark hash table __read_mostly Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index c3aba1e8c5c4..de48fd3d8a38 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c @@ -63,7 +63,7 @@ typedef int (*nfqnl_cmpfn)(struct nf_queue_entry *, unsigned long); static DEFINE_SPINLOCK(instances_lock); #define INSTANCE_BUCKETS 16 -static struct hlist_head instance_table[INSTANCE_BUCKETS]; +static struct hlist_head instance_table[INSTANCE_BUCKETS] __read_mostly; static inline u_int8_t instance_hashfn(u_int16_t queue_num) {