diff options
-rw-r--r-- | net/bridge/br_netfilter.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 246bf23a8775..da22f900e89d 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, | |||
511 | struct iphdr *iph; | 511 | struct iphdr *iph; |
512 | __u32 len = nf_bridge_encap_header_len(skb); | 512 | __u32 len = nf_bridge_encap_header_len(skb); |
513 | 513 | ||
514 | if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL) | ||
515 | return NF_STOLEN; | ||
516 | |||
517 | if (unlikely(!pskb_may_pull(skb, len))) | 514 | if (unlikely(!pskb_may_pull(skb, len))) |
518 | goto out; | 515 | goto out; |
519 | 516 | ||