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

Commit edf7cd67 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ipv6: remove min MTU check for ipsec tunnels"

parents 9b2a5d46 9277207d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1226,7 +1226,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;
	cork->base.gso_size = sk->sk_type == SOCK_DGRAM &&