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

Commit f2374f99 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ipv6: remove min MTU check for ipsec tunnels" into msm-4.9

parents c6a58b3d 1d738571
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1276,7 +1276,7 @@ static int ip6_setup_cork(struct sock *sk, struct inet_cork_full *cork,
		if (np->frag_size)
			mtu = np->frag_size;
	}
	if (mtu < IPV6_MIN_MTU)
	if (!(rt->dst.flags & DST_XFRM_TUNNEL) && mtu < IPV6_MIN_MTU)
		return -EINVAL;
	cork->base.fragsize = mtu;
	if (dst_allfrag(rt->dst.path))