]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[BRIDGE]: Remove SKB share checks in br_nf_pre_routing().
authorPatrick McHardy <kaber@trash.net>
Mon, 15 Oct 2007 08:50:09 +0000 (01:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:35 +0000 (12:26 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c

index 246bf23a8775c991578e9cc8519fc5d280ea310a..da22f900e89dca6f54b9b46990e37d6f7feb8086 100644 (file)
@@ -511,9 +511,6 @@ static unsigned int br_nf_pre_routing(unsigned int hook, struct sk_buff *skb,
        struct iphdr *iph;
        __u32 len = nf_bridge_encap_header_len(skb);
 
-       if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL)
-               return NF_STOLEN;
-
        if (unlikely(!pskb_may_pull(skb, len)))
                goto out;