aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_netfilter.c2
-rw-r--r--net/bridge/netfilter/ebtable_filter.c2
-rw-r--r--net/bridge/netfilter/ebtable_nat.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c
index f9ef3e58b4cb..859fe4d86698 100644
--- a/net/bridge/br_netfilter.c
+++ b/net/bridge/br_netfilter.c
@@ -871,7 +871,7 @@ static unsigned int ip_sabotage_in(unsigned int hook, struct sk_buff *skb,
871 * PF_BRIDGE/NF_BR_LOCAL_OUT functions don't get bridged traffic as input. 871 * PF_BRIDGE/NF_BR_LOCAL_OUT functions don't get bridged traffic as input.
872 * For br_nf_post_routing, we need (prio = NF_BR_PRI_LAST), because 872 * For br_nf_post_routing, we need (prio = NF_BR_PRI_LAST), because
873 * ip_refrag() can return NF_STOLEN. */ 873 * ip_refrag() can return NF_STOLEN. */
874static struct nf_hook_ops br_nf_ops[] = { 874static struct nf_hook_ops br_nf_ops[] __read_mostly = {
875 { .hook = br_nf_pre_routing, 875 { .hook = br_nf_pre_routing,
876 .owner = THIS_MODULE, 876 .owner = THIS_MODULE,
877 .pf = PF_BRIDGE, 877 .pf = PF_BRIDGE,
diff --git a/net/bridge/netfilter/ebtable_filter.c b/net/bridge/netfilter/ebtable_filter.c
index 210493f99bc4..fb810908732f 100644
--- a/net/bridge/netfilter/ebtable_filter.c
+++ b/net/bridge/netfilter/ebtable_filter.c
@@ -67,7 +67,7 @@ ebt_hook(unsigned int hook, struct sk_buff *skb, const struct net_device *in,
67 return ebt_do_table(hook, skb, in, out, &frame_filter); 67 return ebt_do_table(hook, skb, in, out, &frame_filter);
68} 68}
69 69
70static struct nf_hook_ops ebt_ops_filter[] = { 70static struct nf_hook_ops ebt_ops_filter[] __read_mostly = {
71 { 71 {
72 .hook = ebt_hook, 72 .hook = ebt_hook,
73 .owner = THIS_MODULE, 73 .owner = THIS_MODULE,
diff --git a/net/bridge/netfilter/ebtable_nat.c b/net/bridge/netfilter/ebtable_nat.c
index 3e58c2e5ee21..bc712730c54a 100644
--- a/net/bridge/netfilter/ebtable_nat.c
+++ b/net/bridge/netfilter/ebtable_nat.c
@@ -74,7 +74,7 @@ ebt_nat_src(unsigned int hook, struct sk_buff *skb, const struct net_device *in
74 return ebt_do_table(hook, skb, in, out, &frame_nat); 74 return ebt_do_table(hook, skb, in, out, &frame_nat);
75} 75}
76 76
77static struct nf_hook_ops ebt_ops_nat[] = { 77static struct nf_hook_ops ebt_ops_nat[] __read_mostly = {
78 { 78 {
79 .hook = ebt_nat_dst, 79 .hook = ebt_nat_dst,
80 .owner = THIS_MODULE, 80 .owner = THIS_MODULE,