summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_pkttype.c
diff options
context:
space:
mode:
authorPatrick McHardy2007-07-08 07:22:02 +0200
committerDavid S. Miller2007-07-11 07:17:15 +0200
commit9f15c5302de4e8b0aac7ca24c36bf26a7fe1a513 (patch)
treef9bf5883558941b1ad519f02106f53eefc90ba38 /net/netfilter/xt_pkttype.c
parent[NETFILTER]: x_tables: add TRACE target (diff)
downloadkernel-qcow2-linux-9f15c5302de4e8b0aac7ca24c36bf26a7fe1a513.tar.gz
kernel-qcow2-linux-9f15c5302de4e8b0aac7ca24c36bf26a7fe1a513.tar.xz
kernel-qcow2-linux-9f15c5302de4e8b0aac7ca24c36bf26a7fe1a513.zip
[NETFILTER]: x_tables: mark matches and targets __read_mostly
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_pkttype.c')
-rw-r--r--net/netfilter/xt_pkttype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_pkttype.c b/net/netfilter/xt_pkttype.c
index e4c420b5713b..a52925f12f35 100644
--- a/net/netfilter/xt_pkttype.c
+++ b/net/netfilter/xt_pkttype.c
@@ -43,7 +43,7 @@ static bool match(const struct sk_buff *skb,
return (type == info->pkttype) ^ info->invert;
}
-static struct xt_match xt_pkttype_match[] = {
+static struct xt_match xt_pkttype_match[] __read_mostly = {
{
.name = "pkttype",
.family = AF_INET,