[patch 1/2] net, bridge: align br_nf_ops assignment
Cyrill Gorcunov <gorcunov <at> openvz.org>
2009-07-04 06:11:57 GMT
No functional change -- just for easier reading.
Signed-off-by: Cyrill Gorcunov <gorcunov <at> openvz.org>
---
net/bridge/br_netfilter.c | 96 ++++++++++++++++++++++++++--------------------
1 file changed, 56 insertions(+), 40 deletions(-)
Index: linux-2.6.git/net/bridge/br_netfilter.c
=====================================================================
--- linux-2.6.git.orig/net/bridge/br_netfilter.c
+++ linux-2.6.git/net/bridge/br_netfilter.c
<at> <at> -905,46 +905,62 <at> <at> static unsigned int ip_sabotage_in(unsig
* For br_nf_post_routing, we need (prio = NF_BR_PRI_LAST), because
* ip_refrag() can return NF_STOLEN. */
static struct nf_hook_ops br_nf_ops[] __read_mostly = {
- { .hook = br_nf_pre_routing,
- .owner = THIS_MODULE,
- .pf = PF_BRIDGE,
- .hooknum = NF_BR_PRE_ROUTING,
- .priority = NF_BR_PRI_BRNF, },
- { .hook = br_nf_local_in,
- .owner = THIS_MODULE,
- .pf = PF_BRIDGE,
- .hooknum = NF_BR_LOCAL_IN,
- .priority = NF_BR_PRI_BRNF, },
- { .hook = br_nf_forward_ip,
- .owner = THIS_MODULE,
- .pf = PF_BRIDGE,
- .hooknum = NF_BR_FORWARD,
- .priority = NF_BR_PRI_BRNF - 1, },
(Continue reading)