Displaying 6 results from an estimated 6 matches for "br_nf_post_rout".
2007 Apr 18
2
[Bridge] The problem of bridge+netfilter+nat
...0.0.1.
The local net connect to the internet via the gateway 10.0.0.1 and SNAT
is applied on the firewall. It worked but sometimes there are some
problems. The bridge stopped resonse now and there. When checking the
log there were some messages as below,
Mar 21 13:48:04 NPFW br_netfilter: Argh!! br_nf_post_routing: bad mac.raw pointer.[eth6][Bridge_0]
Mar 21 13:48:04 NPFW br_netfilter: Argh!! br_nf_post_routing: bad mac.raw pointer.[eth5][Bridge_0]
Mar 21 13:48:04 NPFW br_netfilter: Argh!! br_nf_post_routing: bad mac.raw pointer.[eth4][Bridge_0]
Mar 21 13:48:04 NPFW br_netfilter: Argh!! br_nf_post_routing...
2007 Apr 18
1
[Bridge] [PATCH] [2.6.15.4] Fix has_bridge_parent undefined with CONFIG_NETFILTER_DEBUG
...introduced in the latest stable set; I am not sure if this is a
right fix but given that bridge parent already exists at this point it was
rather silly to fetch it again.
- -regards
- -andrey
Subject: [PATCH] [2.6.15.4] Fix has_bridge_parent undefined with
CONFIG_NETFILTER_DEBUG
This changes br_nf_post_routing to use realoutdev in debug print. At this
time it is equal to bridge_parent and is guaranteed to be not NULL.
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
- ---
net/bridge/br_netfilter.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
db15f4ffe50096ba1585cfa344a4...
2007 Apr 18
4
[Bridge] [PATCH/RFC] Let {ip, arp}tables "see" bridged VLAN tagged {I, AR}P packets
...534,7 @@ static unsigned int br_nf_local_out(unsi
#endif
NF_HOOK_THRESH(PF_INET, NF_IP_LOCAL_OUT, skb, realindev,
- bridge_parent(skb->dev), okfn,
+ realoutdev, okfn,
NF_IP_PRI_BRIDGE_SABOTAGE_LOCAL_OUT + 1);
}
}
@@ -482,6 +550,8 @@ static unsigned int br_nf_post_routing(u
{
struct sk_buff *skb = *pskb;
struct nf_bridge_info *nf_bridge = (*pskb)->nf_bridge;
+ struct vlan_ethhdr *hdr = (struct vlan_ethhdr *)(skb->mac.ethernet);
+ struct net_device *realoutdev = bridge_parent(skb->dev);
/* Be very paranoid. Must be a device driver bug. */
if (s...
2007 Apr 18
6
[Bridge] No UDP NFS over bridges in Linux 2.6.16.x?
Hi,
I have 2 servers which are connected to a gateway machine. The gateway and one server are running
Linux 2.6.16.2, while the third machine is running 2.6.16.5. The two ethernet ports on the gateway
which are connected to the servers are combined into a single ethernet bridge device.
Ever since 2.6.16, I have noticed that I can no longer cross-mount the two servers' /home
directories via
2006 Jan 26
0
Profiling hotspots in my tc filter ruleset
...r_dev_queue_push_xmit
2515 bridge.ko ip_sabotage_out
2718 sky2.ko sky2_rx_add
2858 sch_htb.ko htb_enqueue
3983 bridge.ko br_handle_frame
4796 bridge.ko br_nf_pre_routing
7047 bridge.ko br_nf_post_routing
8158 sky2.ko sky2_xmit_frame
9519 sch_htb.ko htb_classify
9910 sch_htb.ko htb_dequeue
9916 ip_tables.ko ipt_do_table
9944 bridge.ko br_fdb_update
10094 bridge.ko __br_fdb_get
14446 sk...
2006 Jul 06
12
kernel BUG at net/core/dev.c:1133!
...d9e32e0 cf8e3000
c0895140
Call Trace:
[<c04dcfb0>] dev_gso_segment+0x30/0xb0
[<c04dd07e>] dev_hard_start_xmit+0x4e/0x110
[<c04ec07e>] __qdisc_run+0xbe/0x280
[<c04dd4b9>] dev_queue_xmit+0x379/0x380
[<c05bbe44>] br_dev_queue_push_xmit+0xa4/0x140
[<c05c2402>] br_nf_post_routing+0x102/0x1d0
[<c05c22b0>] br_nf_dev_queue_xmit+0x0/0x50
[<c05bbda0>] br_dev_queue_push_xmit+0x0/0x140
[<c04f0eab>] nf_iterate+0x6b/0xa0
[<c05bbda0>] br_dev_queue_push_xmit+0x0/0x140
[<c05bbda0>] br_dev_queue_push_xmit+0x0/0x140
[<c04f0f4e>] nf_hook_slow+0...