Updated to 2.6.26 for stable and 2.6.27 for development
[nslu2-linux/kernel.git] / patches / 2.6.19 / 10-bridging-fix.patch
blobec96627e4fd16d0e058fcea32c40c89dd89ddc1b
1 Index: linux-2.6.19/net/bridge/br_input.c
2 ===================================================================
3 --- linux-2.6.19.orig/net/bridge/br_input.c
4 +++ linux-2.6.19/net/bridge/br_input.c
5 @@ -32,6 +32,9 @@ static void br_pass_frame_up(struct net_
6 indev = skb->dev;
7 skb->dev = br->dev;
9 + skb_push(skb, ETH_HLEN);
10 + skb->protocol = eth_type_trans(skb, skb->dev);
12 NF_HOOK(PF_BRIDGE, NF_BR_LOCAL_IN, skb, indev, NULL,
13 netif_receive_skb);