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

Commit d1c30a62 authored by xiaocong.gu's avatar xiaocong.gu
Browse files

Integrate security patch 2022-01-05-CVE-2021-39633

Change-Id: Id2e43d346f22f0a5311e97373a905c96176889de
parent 953378bb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -449,6 +449,8 @@ static void __gre_xmit(struct sk_buff *skb, struct net_device *dev,

static int gre_handle_offloads(struct sk_buff *skb, bool csum)
{
       if (csum && skb_checksum_start(skb) < skb->data)
               return -EINVAL;
	return iptunnel_handle_offloads(skb, csum ? SKB_GSO_GRE_CSUM : SKB_GSO_GRE);
}