projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd0119
)
[NETFILTER]: nfnetlink_queue: mark hash table __read_mostly
author
Patrick McHardy
<kaber@trash.net>
Wed, 5 Dec 2007 09:29:38 +0000
(
01:29
-0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:56:21 +0000
(14:56 -0800)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_queue.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nfnetlink_queue.c
b/net/netfilter/nfnetlink_queue.c
index c3aba1e8c5c43d1ae068c018985a5fae3aafeb32..de48fd3d8a381e059bf2df1f44477b9e1dd6a594 100644
(file)
--- 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)
{