summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/ipt_tos.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/netfilter/ipt_tos.c')
-rw-r--r--net/ipv4/netfilter/ipt_tos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipt_tos.c b/net/ipv4/netfilter/ipt_tos.c
index 67699ae..e740441 100644
--- a/net/ipv4/netfilter/ipt_tos.c
+++ b/net/ipv4/netfilter/ipt_tos.c
@@ -33,7 +33,7 @@ match(const struct sk_buff *skb,
return (ip_hdr(skb)->tos == info->tos) ^ info->invert;
}
-static struct xt_match tos_match = {
+static struct xt_match tos_match __read_mostly = {
.name = "tos",
.family = AF_INET,
.match = match,
OpenPOWER on IntegriCloud