mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[BRIDGE]: Remove SKB share checks in br_nf_pre_routing().
Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
861d048607
commit
9c2842bd94
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue