aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/ipt_REJECT.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-07-07 22:22:02 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:17:15 -0700
commit9f15c5302de4e8b0aac7ca24c36bf26a7fe1a513 (patch)
treef9bf5883558941b1ad519f02106f53eefc90ba38 /net/ipv4/netfilter/ipt_REJECT.c
parent[NETFILTER]: x_tables: add TRACE target (diff)
downloadlinux-dev-9f15c5302de4e8b0aac7ca24c36bf26a7fe1a513.tar.xz
linux-dev-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/ipv4/netfilter/ipt_REJECT.c')
-rw-r--r--net/ipv4/netfilter/ipt_REJECT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ipt_REJECT.c b/net/ipv4/netfilter/ipt_REJECT.c
index 90f7b7093785..dd5432c3f365 100644
--- a/net/ipv4/netfilter/ipt_REJECT.c
+++ b/net/ipv4/netfilter/ipt_REJECT.c
@@ -240,7 +240,7 @@ static bool check(const char *tablename,
return true;
}
-static struct xt_target ipt_reject_reg = {
+static struct xt_target ipt_reject_reg __read_mostly = {
.name = "REJECT",
.family = AF_INET,
.target = reject,