From: Patrick McHardy Date: Mon, 15 Oct 2007 08:50:09 +0000 (-0700) Subject: [BRIDGE]: Remove SKB share checks in br_nf_pre_routing(). X-Git-Tag: v2.6.24-rc1~1277^2~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c2842bd94dd72d77bddb498bdd76342a0089168;p=linux-2.6 [BRIDGE]: Remove SKB share checks in br_nf_pre_routing(). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 246bf23a87..da22f900e8 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -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;