Skip to content

Commit 0975764

Browse files
Julian Anastasovdavem330
authored andcommitted
ipv6: allow PMTU exceptions to local routes
IPVS setups with local client and remote tunnel server need to create exception for the local virtual IP. What we do is to change PMTU from 64KB (on "lo") to 1460 in the common case. Suggested-by: Martin KaFai Lau <[email protected]> Fixes: 45e4fd2 ("ipv6: Only create RTF_CACHE routes after encountering pmtu exception") Fixes: 7343ff3 ("ipv6: Don't create clones of host routes.") Signed-off-by: Julian Anastasov <[email protected]> Acked-by: David Ahern <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f0dc7f9 commit 0975764

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

net/ipv6/route.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,9 +2307,6 @@ static void __ip6_rt_update_pmtu(struct dst_entry *dst, const struct sock *sk,
23072307
const struct in6_addr *daddr, *saddr;
23082308
struct rt6_info *rt6 = (struct rt6_info *)dst;
23092309

2310-
if (rt6->rt6i_flags & RTF_LOCAL)
2311-
return;
2312-
23132310
if (dst_metric_locked(dst, RTAX_MTU))
23142311
return;
23152312

0 commit comments

Comments
 (0)