commit | f2374f990b28b53364e6920ac2e1b999cb0b9b3b | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Tue May 15 07:36:06 2018 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue May 15 07:36:06 2018 -0700 |
tree | a709bc8cb66b8473e46a71857b61e6b43a125651 | |
parent | c6a58b3dbbc182e0bcb572632a34744aa371145f [diff] | |
parent | 1d73857127cd7c1546601498b791576db2967b14 [diff] |
Merge "ipv6: remove min MTU check for ipsec tunnels" into msm-4.9
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 55ca65c..7e24ced 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c
@@ -1276,7 +1276,7 @@ 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))