summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_hash_netport.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ip_set_hash_netport.c')
-rw-r--r--kernel/ip_set_hash_netport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ip_set_hash_netport.c b/kernel/ip_set_hash_netport.c
index 9c4767e..c3f47a1 100644
--- a/kernel/ip_set_hash_netport.c
+++ b/kernel/ip_set_hash_netport.c
@@ -578,7 +578,7 @@ hash_netport_create(struct ip_set *set, struct nlattr *head, int len, u32 flags)
return 0;
}
-static struct ip_set_type hash_netport_type = {
+static struct ip_set_type hash_netport_type __read_mostly = {
.name = "hash:net,port",
.protocol = IPSET_PROTOCOL,
.features = IPSET_TYPE_IP | IPSET_TYPE_PORT,