Displaying 2 results from an estimated 2 matches for "br_nf_pre_routing_finish_bridg".
Did you mean:
  br_nf_pre_routing_finish_bridge
  
2011 Dec 22
8
[Bug 765] New: Netfilter crash on bridged/TAP device on 2.6.38 & 3.0 kernels
..._hdr
tap02163e496dfb: tap vnet_hdr
tap02163e4f4369: tap vnet_hdr
tap02163e50bee1: tap vnet_hdr
KVM VM's are connected through TAP devices to external network.
We periodically hit the following crash in netfilter in all the 3 linux kernel
variants.
[ 5445.359446]  [<ffffffffa0395200>] ?
br_nf_pre_routing_finish_bridge+0x60/0xd0 [bridge]
[ 5445.372671]  [<ffffffffa0396808>] br_nf_pre_routing_finish+0x328/0x360
[bridge]
[ 5445.385984]  [<ffffffffa0396b96>] br_nf_pre_routing+0x356/0x370 [bridge]
[ 5445.393255]  [<ffffffff815165d5>] nf_iterate+0x85/0xc0
[ 5445.400827]  [<ffffffffa038ffd0>] ?...
2007 Apr 18
4
[Bridge] [PATCH/RFC] Let {ip, arp}tables "see" bridged VLAN tagged {I, AR}P packets
...>dev = nf_bridge->physindev;
 				clear_cb(skb);
+				if (skb->protocol ==
+				    __constant_htons(ETH_P_8021Q)) {
+					skb_push(skb, VLAN_HLEN);
+					skb->nh.raw -= VLAN_HLEN;
+				}
 				NF_HOOK_THRESH(PF_BRIDGE, NF_BR_PRE_ROUTING,
 					       skb, skb->dev, NULL,
 					       br_nf_pre_routing_finish_bridge,
@@ -202,6 +225,10 @@ bridged_dnat:
 
 	clear_cb(skb);
 	skb->dev = nf_bridge->physindev;
+	if (skb->protocol == __constant_htons(ETH_P_8021Q)) {
+		skb_push(skb, VLAN_HLEN);
+		skb->nh.raw -= VLAN_HLEN;
+	}
 	NF_HOOK_THRESH(PF_BRIDGE, NF_BR_PRE_ROUTING, skb, skb->dev, NULL,...