Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c2842bd authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

[BRIDGE]: Remove SKB share checks in br_nf_pre_routing().

parent 861d0486
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;