forked from luck/tmp_suning_uos_patched
[BRIDGE]: Remove SKB share checks in br_nf_pre_routing().
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
861d048607
commit
9c2842bd94
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user