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

Commit 83f4d9a5 authored by Sharath Chandra Vurukala's avatar Sharath Chandra Vurukala
Browse files

Revert "ipv6: defrag: drop non-last frags smaller than min mtu"



This reverts commit 5f2d68b6.

The change drops the non-last fragments whose size is less
than min mtu, this is currently breaking MT call on IWLAN.
It is observed that the SIP_INVITE has fragments of size
less than min mtu, currently reverting the change to allow
MT call to go through.

Change-Id: I601ae77c33399c4ef044d14ae3fdfdbd63d9867f
Signed-off-by: default avatarSharath Chandra Vurukala <sharathv@codeaurora.org>
parent dce57d81
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -576,10 +576,6 @@ struct sk_buff *nf_ct_frag6_gather(struct net *net, struct sk_buff *skb, u32 use
	hdr = ipv6_hdr(clone);
	fhdr = (struct frag_hdr *)skb_transport_header(clone);

	if (clone->len - skb_network_offset(clone) < IPV6_MIN_MTU &&
	    fhdr->frag_off & htons(IP6_MF))
		goto ret_orig;

	skb_orphan(skb);
	fq = fq_find(net, fhdr->identification, user, hdr,
		     skb->dev ? skb->dev->ifindex : 0);
+0 −4
Original line number Diff line number Diff line
@@ -516,10 +516,6 @@ static int ipv6_frag_rcv(struct sk_buff *skb)
		return 1;
	}

	if (skb->len - skb_network_offset(skb) < IPV6_MIN_MTU &&
	    fhdr->frag_off & htons(IP6_MF))
		goto fail_hdr;

	iif = skb->dev ? skb->dev->ifindex : 0;
	fq = fq_find(net, fhdr->identification, hdr, iif);
	if (fq) {