summaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebt_mark.c
diff options
context:
space:
mode:
authorJan Engelhardt2008-01-31 13:00:59 +0100
committerDavid S. Miller2008-02-01 04:27:34 +0100
commit30083c9500b8aa3bc48579eaadb5068ad057afbd (patch)
treea2f234b0bd28dd7eeee9c5362e84b92e06d90a75 /net/bridge/netfilter/ebt_mark.c
parent[NETFILTER]: ebtables: Update modules' descriptions (diff)
downloadkernel-qcow2-linux-30083c9500b8aa3bc48579eaadb5068ad057afbd.tar.gz
kernel-qcow2-linux-30083c9500b8aa3bc48579eaadb5068ad057afbd.tar.xz
kernel-qcow2-linux-30083c9500b8aa3bc48579eaadb5068ad057afbd.zip
[NETFILTER]: ebtables: mark matches, targets and watchers __read_mostly
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/netfilter/ebt_mark.c')
-rw-r--r--net/bridge/netfilter/ebt_mark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bridge/netfilter/ebt_mark.c b/net/bridge/netfilter/ebt_mark.c
index 93ea76373f31..36723f47db0a 100644
--- a/net/bridge/netfilter/ebt_mark.c
+++ b/net/bridge/netfilter/ebt_mark.c
@@ -57,8 +57,7 @@ static int ebt_target_mark_check(const char *tablename, unsigned int hookmask,
return 0;
}
-static struct ebt_target mark_target =
-{
+static struct ebt_target mark_target __read_mostly = {
.name = EBT_MARK_TARGET,
.target = ebt_target_mark,
.check = ebt_target_mark_check,