summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_list_set.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-19 02:48:32 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-12-19 03:05:59 +0100
commit7e476b3d15ae050137906a9e572d255e66c05d62 (patch)
treea44dbd3ae9460fbe5666bc23f120f6b4e94e7130 /kernel/ip_set_list_set.c
parent8f88de56d8ab22e6b34dba81ebf69e75929706ff (diff)
kernel: use __read_mostly for registration-type structures
Here is where __read_mostly goes :-)
Diffstat (limited to 'kernel/ip_set_list_set.c')
-rw-r--r--kernel/ip_set_list_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ip_set_list_set.c b/kernel/ip_set_list_set.c
index a2c2eef..07d9929 100644
--- a/kernel/ip_set_list_set.c
+++ b/kernel/ip_set_list_set.c
@@ -562,7 +562,7 @@ list_set_create(struct ip_set *set, struct nlattr *head, int len,
return 0;
}
-static struct ip_set_type list_set_type = {
+static struct ip_set_type list_set_type __read_mostly = {
.name = "list:set",
.protocol = IPSET_PROTOCOL,
.features = IPSET_TYPE_NAME | IPSET_DUMP_LAST,